diff options
author | David Robillard <d@drobilla.net> | 2013-01-12 23:38:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-12 23:38:03 +0000 |
commit | df1447c665e6c3631961297a9d3e9aff4e94c47f (patch) | |
tree | c0ff117c362e6d571f430f886ab62f372b59af08 /ingen/URIMap.hpp | |
parent | bb335dca695273622b7a4ebbefbe9e089edb9ab4 (diff) | |
download | ingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.tar.gz ingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.tar.bz2 ingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.zip |
Remove Raul::SharedPtr and switch to std::shared_ptr.
Use project local short type aliases for shared_ptr and friends.
Move Raul::Disposable and Raul::Manageable into Raul::Maid.
Use sets to store machina nodes and edges to avoid O(n) searches.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4939 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/URIMap.hpp')
-rw-r--r-- | ingen/URIMap.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ingen/URIMap.hpp b/ingen/URIMap.hpp index e5ca71e3..a275fdff 100644 --- a/ingen/URIMap.hpp +++ b/ingen/URIMap.hpp @@ -48,8 +48,8 @@ public: const char* uri() const { return _feature.URI; } - SharedPtr<LV2_Feature> feature(World*, Node*) { - return SharedPtr<LV2_Feature>(&_feature, NullDeleter<LV2_Feature>); + SPtr<LV2_Feature> feature(World*, Node*) { + return SPtr<LV2_Feature>(&_feature, NullDeleter<LV2_Feature>); } private: @@ -71,12 +71,12 @@ public: LV2_URID_Unmap urid_unmap; }; - SharedPtr<URIDMapFeature> urid_map_feature() { return _urid_map_feature; } - SharedPtr<URIDUnmapFeature> urid_unmap_feature() { return _urid_unmap_feature; } + SPtr<URIDMapFeature> urid_map_feature() { return _urid_map_feature; } + SPtr<URIDUnmapFeature> urid_unmap_feature() { return _urid_unmap_feature; } private: - SharedPtr<URIDMapFeature> _urid_map_feature; - SharedPtr<URIDUnmapFeature> _urid_unmap_feature; + SPtr<URIDMapFeature> _urid_map_feature; + SPtr<URIDUnmapFeature> _urid_unmap_feature; }; } // namespace Ingen |