diff options
Diffstat (limited to 'project2/xmlStorage.h')
-rw-r--r-- | project2/xmlStorage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/xmlStorage.h b/project2/xmlStorage.h index d35a182..443ad81 100644 --- a/project2/xmlStorage.h +++ b/project2/xmlStorage.h @@ -33,7 +33,7 @@ class Storer : public virtual IntrusivePtrBase { template <class X> static StorerPtr into(X * map); - virtual bool save(SourceObjectPtr o) const = 0; + virtual bool save(SourceObjectPtr o, const xmlpp::Element *) const = 0; }; template <class X> @@ -43,7 +43,7 @@ class StorerImpl : public Storer { { } - bool save(SourceObjectPtr obj) const { + bool save(SourceObjectPtr obj, const xmlpp::Element *) const { boost::intrusive_ptr<X> O = boost::dynamic_pointer_cast<X>(obj); if (O) { if (map->insert(O).second) { |