diff options
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/cpp/include/sratom/sratom.hpp | 10 | ||||
-rw-r--r-- | bindings/cpp/meson.build | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/bindings/cpp/include/sratom/sratom.hpp b/bindings/cpp/include/sratom/sratom.hpp index 8be6644..9bb9c1f 100644 --- a/bindings/cpp/include/sratom/sratom.hpp +++ b/bindings/cpp/include/sratom/sratom.hpp @@ -69,14 +69,14 @@ enum class Flag { terse = SRATOM_TERSE, }; -using Flags = serd::detail::Flags<Flag>; +using Flags = serd::Flags<Flag>; class Dumper - : public serd::detail::BasicWrapper<SratomDumper, sratom_dumper_free> + : public serd::detail::StaticWrapper<SratomDumper, sratom_dumper_free> { public: Dumper(serd::World& world, LV2_URID_Map& map, LV2_URID_Unmap& unmap) - : BasicWrapper(sratom_dumper_new(world.cobj(), &map, &unmap)) + : StaticWrapper(sratom_dumper_new(world.cobj(), &map, &unmap)) {} SratomStatus write(const serd::Env& env, @@ -144,13 +144,13 @@ private: }; class Loader - : public serd::detail::BasicWrapper<SratomLoader, sratom_loader_free> + : public serd::detail::StaticWrapper<SratomLoader, sratom_loader_free> { public: using AtomPtr = std::unique_ptr<LV2_Atom, detail::Deleter>; Loader(serd::World& world, LV2_URID_Map& map) - : BasicWrapper(sratom_loader_new(world.cobj(), &map)) + : StaticWrapper(sratom_loader_new(world.cobj(), &map)) {} SratomStatus load(const serd::Optional<serd::Node>& base_uri, diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build index ea6d336..c99f3ec 100644 --- a/bindings/cpp/meson.build +++ b/bindings/cpp/meson.build @@ -53,9 +53,9 @@ cpp_headers = [ 'include/sratom/sratom.hpp', ] -serdpp_dep = dependency('serdxx-1', +serdpp_dep = dependency('serdpp-1', version: '>= 1.0.0', - fallback: ['serd', 'serdxx_dep']) + fallback: ['serd', 'serdpp_dep']) sratompp_dep = declare_dependency( include_directories: include_directories(['include']), |