From db07db58db6d83f008a4714a238a99f7f4855c9a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Apr 2011 21:18:51 +0000 Subject: Update for new Serd API. git-svn-id: http://svn.drobilla.net/sord/trunk@87 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sordmm.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index e56cce3..d8e61fa 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -52,9 +52,9 @@ protected: }; /** Collection of RDF namespaces with prefixes. */ -class Namespaces : public Wrapper { +class Namespaces : public Wrapper { public: - Namespaces() : Wrapper(serd_env_new()) {} + Namespaces() : Wrapper(serd_env_new()) {} static inline SerdNode string_to_node(SerdType type, const std::string& s) { SerdNode ret = { @@ -403,10 +403,10 @@ public: inline World& world() const { return _world; } private: - World& _world; - Node _base; - SerdWriter _writer; - size_t _next_blank_id; + World& _world; + Node _base; + SerdWriter* _writer; + size_t _next_blank_id; }; /** Create an empty in-memory RDF model. -- cgit v1.2.1