GetMember is not reading. So don't try to fix-up "read" data when getting a member.

Fixes #3
This commit is contained in:
Twan van Laarhoven
2020-05-05 23:11:24 +02:00
parent 30401964d5
commit 6434532dfb
+2 -2
View File
@@ -71,9 +71,9 @@ public:
GetMember(const String& name);
/// Tell the reflection code we are getting a member for scripting purposes
static constexpr bool isReading = true;
static constexpr bool isReading = false;
static constexpr bool isWriting = false;
static constexpr bool isScripting = false;
static constexpr bool isScripting = true;
inline bool isCompound() const { return true; }
inline Version formatVersion() const { return app_version; }