diff options
Diffstat (limited to 'sim/serialize.hh')
-rw-r--r-- | sim/serialize.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/serialize.hh b/sim/serialize.hh index 5ebbfaba5..668e654b7 100644 --- a/sim/serialize.hh +++ b/sim/serialize.hh @@ -47,7 +47,7 @@ template <class T> void paramOut(std::ostream &os, const std::string &name, const T& param); template <class T> -void paramIn(IniFile &db, const std::string §ion, +void paramIn(const IniFile *db, const std::string §ion, const std::string &name, T& param); template <class T> @@ -55,7 +55,7 @@ void arrayParamOut(std::ostream &os, const std::string &name, const T *param, int size); template <class T> -void arrayParamIn(IniFile &db, const std::string §ion, +void arrayParamIn(const IniFile *db, const std::string §ion, const std::string &name, T *param, int size); // @@ -103,7 +103,7 @@ class Serializeable virtual void nameChildren() {} virtual void serialize(std::ostream& os) {} - virtual void unserialize(IniFile &db, const std::string §ion) {} + virtual void unserialize(const IniFile *db, const std::string §ion) {} }; class Serializer |