diff options
Diffstat (limited to 'project2/json')
-rw-r--r-- | project2/json/couchSession.cpp | 2 | ||||
-rw-r--r-- | project2/json/presenter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project2/json/couchSession.cpp b/project2/json/couchSession.cpp index 5d964aa..a6c49e9 100644 --- a/project2/json/couchSession.cpp +++ b/project2/json/couchSession.cpp @@ -105,7 +105,7 @@ class CouchSessionContainer : public SessionContainer { std::vector<std::string> CouchSessionContainer::baseUrls; const Glib::ustring CouchSessionContainer::ExpiryKey("project2:expires"); -class CustomCouchSessionLoader : public SessionContainerLoaderImpl<CouchSessionContainer> { +class CustomCouchSessionLoader : public SessionContainerLoader::For<CouchSessionContainer> { public: CustomCouchSessionLoader() : opts("Session CouchDB options") diff --git a/project2/json/presenter.cpp b/project2/json/presenter.cpp index 0eb484b..b76f232 100644 --- a/project2/json/presenter.cpp +++ b/project2/json/presenter.cpp @@ -97,4 +97,4 @@ class JsonPresenter : public MultiRowSetPresenter, public ContentPresenter, publ mutable std::stack<json::Object *> curRowSet; mutable std::stack<json::Array *> curRowArray; }; -DECLARE_COMPONENT_LOADER("json", JsonPresenter, PresenterLoader) +DECLARE_GENERIC_LOADER("json", PresenterLoader, JsonPresenter) |