Make Property cast operator inline

This commit is contained in:
DankParrot 2020-08-06 21:49:29 -07:00
parent d4256e9e32
commit 68a8c22c03
1 changed files with 1 additions and 1 deletions

View File

@ -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); }