diff options
author | David Robillard <d@drobilla.net> | 2011-04-27 21:18:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-27 21:18:51 +0000 |
commit | db07db58db6d83f008a4714a238a99f7f4855c9a (patch) | |
tree | 06261ef1f0de5a8b5b0044b62c4d0d702fe8cc82 | |
parent | 12880a451ad29c7a53ab0de23bea3c481f493f52 (diff) | |
download | sord-db07db58db6d83f008a4714a238a99f7f4855c9a.tar.gz sord-db07db58db6d83f008a4714a238a99f7f4855c9a.tar.bz2 sord-db07db58db6d83f008a4714a238a99f7f4855c9a.zip |
Update for new Serd API.
git-svn-id: http://svn.drobilla.net/sord/trunk@87 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | sord/sordmm.hpp | 12 |
1 files 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<SerdEnv> { +class Namespaces : public Wrapper<SerdEnv*> { public: - Namespaces() : Wrapper<SerdEnv>(serd_env_new()) {} + Namespaces() : Wrapper<SerdEnv*>(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. |