diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
commit | 6a2962128761c4579877b86f6aeb2adc30f8e9ce (patch) | |
tree | 0b0101a905fe31f18f160913e6c0fae7e2774565 /bindings/cpp/include/sratom | |
parent | c37e9cccb6a8dfee42bb50ec2646ecc41f353ae2 (diff) | |
download | sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.gz sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.bz2 sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.zip |
WIP
Diffstat (limited to 'bindings/cpp/include/sratom')
-rw-r--r-- | bindings/cpp/include/sratom/sratom.hpp | 10 |
1 files changed, 5 insertions, 5 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, |