diff options
Diffstat (limited to 'include/erebos/storage.h')
-rw-r--r-- | include/erebos/storage.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/erebos/storage.h b/include/erebos/storage.h index 3777572..95a4574 100644 --- a/include/erebos/storage.h +++ b/include/erebos/storage.h @@ -124,10 +124,8 @@ public: template<typename T> std::optional<Stored<T>> as() const; - private: - friend class Record; - std::string name; - Variant value; + const std::string name; + const Variant value; }; private: |