aboutsummaryrefslogtreecommitdiff
path: root/src/example/proxy.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 16:12:47 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 16:12:47 +0100
commite36ea050972fcaaf3d85d672755bad4ebb2dcd80 (patch)
tree5145e0b66650eea1df301106b7d197a586be65f3 /src/example/proxy.cpp
parent333b07775be1ef20fdb5909672c1e4dcabec1b40 (diff)
parentb770475741b7c33d57331f3139c55a3f237ad274 (diff)
merge `master` into `loek/savemgr`loek/savemgr
Diffstat (limited to 'src/example/proxy.cpp')
-rw-r--r--src/example/proxy.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/example/proxy.cpp b/src/example/proxy.cpp
index 0be4fac..9f54f96 100644
--- a/src/example/proxy.cpp
+++ b/src/example/proxy.cpp
@@ -3,22 +3,21 @@
* Standalone example for usage of the proxy type
*/
-#include "ValueBroker.h"
+#include <crepe/ValueBroker.h>
#include <crepe/api/Config.h>
#include <crepe/util/log.h>
#include <crepe/util/Proxy.h>
using namespace std;
using namespace crepe;
-using namespace crepe::util;
void test_ro_ref(const int & val) { }
void test_rw_ref(int & val) { }
void test_ro_val(int val) { }
int main() {
- auto & cfg = api::Config::get_instance();
- cfg.log.level = util::LogLevel::DEBUG;
+ auto & cfg = Config::get_instance();
+ cfg.log.level = LogLevel::DEBUG;
int real_value = 0;