aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/SaveManager.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-11 18:37:23 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-11 18:37:23 +0100
commitca6c4f30df6612f60db0fdfe4c2d366d7e4da8ea (patch)
tree199878898c2ddcdd2f7f6a1b76c165c2c7db5c8d /src/crepe/manager/SaveManager.h
parentf0ecbea57a4d75905c4ee79608807187cd8f3e72 (diff)
parent30c17c98e54c1534664de08ca3838c40c859d166 (diff)
merge master
Diffstat (limited to 'src/crepe/manager/SaveManager.h')
-rw-r--r--src/crepe/manager/SaveManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/manager/SaveManager.h b/src/crepe/manager/SaveManager.h
index 27e625c..61a978d 100644
--- a/src/crepe/manager/SaveManager.h
+++ b/src/crepe/manager/SaveManager.h
@@ -1,7 +1,7 @@
#pragma once
-#include <memory>
#include <functional>
+#include <memory>
#include "../ValueBroker.h"
@@ -95,9 +95,10 @@ private:
protected:
//! Create or return DB
virtual DB & get_db();
+
private:
//! Database
- std::unique_ptr<void, std::function<void(void*)>> db = nullptr;
+ std::unique_ptr<void, std::function<void(void *)>> db = nullptr;
};
} // namespace crepe