mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-27 03:36:00 -05:00
Rename function
This commit is contained in:
committed by
WarmUpTill
parent
8d9519c849
commit
37cc289204
@@ -82,9 +82,10 @@ template<typename T> bool NumberVariable<T>::HasValidValue() const
|
||||
auto value = var->IntValue();
|
||||
return value.has_value();
|
||||
} else if constexpr (std::is_same<T, double>::value) {
|
||||
auto value = var->IntValue();
|
||||
auto value = var->DoubleValue();
|
||||
return value.has_value();
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user