diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 14:01:04 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 14:01:04 +0100 |
commit | 8afdca56d61a6c66ad1ac1bbd092192eeb827173 (patch) | |
tree | 356e1642fb150720b42c5a9f52c4e897d514a69c /src/crepe/manager/SaveManager.h | |
parent | 40d64aa8f836087fd9a1af51e257533194bf2d80 (diff) | |
parent | 0e800c6857122436e7a766c6934991aa1d8d31ff (diff) |
Merge branch 'master' into loek/scripts
Diffstat (limited to 'src/crepe/manager/SaveManager.h')
-rw-r--r-- | src/crepe/manager/SaveManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/manager/SaveManager.h b/src/crepe/manager/SaveManager.h index 61a978d..1e34bc0 100644 --- a/src/crepe/manager/SaveManager.h +++ b/src/crepe/manager/SaveManager.h @@ -36,17 +36,17 @@ public: ValueBroker<T> get(const std::string & key, const T & default_value); /** - * \brief Get a read/write reference to a value + * \brief Get a value directly * * \param key The value key * - * \return Read/write reference to the value + * \return The value * * \note Attempting to read this value before it is initialized (i.e. set) will result in an * exception */ template <typename T> - ValueBroker<T> get(const std::string & key); + T get(const std::string & key); /** * \brief Set a value directly |