blah
This commit is contained in:
parent
e1831be30d
commit
6164210a1e
|
@ -1,15 +1,15 @@
|
|||
#ifndef __SICCCPERSISTER_H_
|
||||
#define __SICCCPERSISTER_H_
|
||||
|
||||
#include "Routerin.H"
|
||||
#include "sicccobject.H"
|
||||
|
||||
#include <jansson.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/types.h>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#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);
|
||||
|
|
Loading…
Reference in New Issue