From 6164210a1e479639b0cde740343db75a484afdd1 Mon Sep 17 00:00:00 2001 From: john stone Date: Fri, 2 May 2014 00:06:48 +0200 Subject: [PATCH] blah --- src/sicccPersister.H | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sicccPersister.H b/src/sicccPersister.H index b6b0021..006adec 100644 --- a/src/sicccPersister.H +++ b/src/sicccPersister.H @@ -1,15 +1,15 @@ #ifndef __SICCCPERSISTER_H_ #define __SICCCPERSISTER_H_ +#include "Routerin.H" +#include "sicccobject.H" + #include #include #include #include #include #include -#include "Routerin.H" - -#include "sicccobject.H" static json_t * load_json(const std::string &s) { @@ -116,7 +116,8 @@ class SicccPersister json_file_name = so.get_filename(); } - SicccPersister(json_t *j, const Routerin & merouter =* Routerin::get_instance()) + SicccPersister(json_t *j, const Routerin & merouter =* Routerin::get_instance()): + merouter(merouter) { root = json_object(); json_object_update(root, j);