mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-24 13:59:09 -06:00
More compile fixes for Jenkins
This commit is contained in:
@@ -183,7 +183,7 @@ bool NumericalProperty<T>::setLua(lua_State* state)
|
||||
bool success;
|
||||
T value = PropertyDelegate<NumericalProperty<T>>::template fromLuaValue<T>(state, success);
|
||||
if (success)
|
||||
set(value);
|
||||
setValue(value);
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ TEST_F(LuaConversionTest, LuaExecution) {
|
||||
= PropertyDelegate<TemplateProperty<__TYPE__>>::toLuaValue<__TYPE__>( \
|
||||
state, __VALUE__); \
|
||||
EXPECT_TRUE(success) << "toLuaValue"; \
|
||||
__TYPE__ value = __TYPE__(0); \
|
||||
__TYPE__ value = (__TYPE__)(0); \
|
||||
value = PropertyDelegate<TemplateProperty<__TYPE__>>::fromLuaValue<__TYPE__>( \
|
||||
state, success); \
|
||||
EXPECT_TRUE(success) << "fromLuaValue"; \
|
||||
@@ -79,7 +79,7 @@ TEST_F(LuaConversionTest, LuaExecution) {
|
||||
= PropertyDelegate<NumericalProperty<__TYPE__>>::toLuaValue<__TYPE__>( \
|
||||
state, __VALUE__); \
|
||||
EXPECT_TRUE(success) << "toLuaValue"; \
|
||||
__TYPE__ value = __TYPE__(0); \
|
||||
__TYPE__ value = (__TYPE__)(0); \
|
||||
value = PropertyDelegate<NumericalProperty<__TYPE__>>::fromLuaValue<__TYPE__>( \
|
||||
state, success); \
|
||||
EXPECT_TRUE(success) << "fromLuaValue"; \
|
||||
|
||||
Reference in New Issue
Block a user