Make Property cast operator inline
This commit is contained in:
parent
d4256e9e32
commit
68a8c22c03
|
@ -49,7 +49,7 @@ namespace Feather
|
|||
T GetValue() { return value; }
|
||||
|
||||
// Property<T> can be automatically cast to T
|
||||
operator T() const { return value; }
|
||||
inline operator T() const { return value; }
|
||||
|
||||
inline string ToString() const { return std::to_string(value); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue