aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/SaveManager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/api/SaveManager.h b/src/crepe/api/SaveManager.h
index 37463ca..78cd4ba 100644
--- a/src/crepe/api/SaveManager.h
+++ b/src/crepe/api/SaveManager.h
@@ -1,6 +1,6 @@
#pragma once
-#include "../Proxy.h"
+#include "../ValueBroker.h"
namespace crepe::api {
@@ -8,11 +8,11 @@ class SaveManager {
public:
//! Get a reference to a value and initialize it with a value if it does not yet exist
template <typename T>
- Proxy<T> & get(const char * key, const T & default_value);
+ ValueBroker<T> & get(const char * key, const T & default_value);
//! Get a reference to a value
template <typename T>
- Proxy<T> & get(const char * key);
+ ValueBroker<T> & get(const char * key);
//! Set a value directly
template <typename T>
@@ -22,8 +22,8 @@ public:
bool has(const char * key);
private:
- SaveManager();
- virtual ~SaveManager();
+ SaveManager() = default;
+ virtual ~SaveManager() = default;
public:
// singleton