aboutsummaryrefslogtreecommitdiff
path: root/src/example/savemgr.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-27 19:33:45 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-27 19:33:45 +0100
commitb2fc208fbdb55ecc3cba59e2dd51976ce829a4be (patch)
tree1a60e74b7533403831868b04943978987cec2c75 /src/example/savemgr.cpp
parentecc5761fa78ccb57db958467c3fc999aceadd409 (diff)
WIP db facade
Diffstat (limited to 'src/example/savemgr.cpp')
-rw-r--r--src/example/savemgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/example/savemgr.cpp b/src/example/savemgr.cpp
index 5c034c4..2c03e3a 100644
--- a/src/example/savemgr.cpp
+++ b/src/example/savemgr.cpp
@@ -14,6 +14,7 @@ using namespace crepe::util;
int main() {
const char * key = "mygame.test";
+
SaveManager & mgr = SaveManager::get_instance();
ValueBroker<unsigned int> & prop = mgr.get<unsigned int>(key, 0);