From df1447c665e6c3631961297a9d3e9aff4e94c47f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Jan 2013 23:38:03 +0000 Subject: 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 --- ingen/URIMap.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ingen/URIMap.hpp') 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 feature(World*, Node*) { - return SharedPtr(&_feature, NullDeleter); + SPtr feature(World*, Node*) { + return SPtr(&_feature, NullDeleter); } private: @@ -71,12 +71,12 @@ public: LV2_URID_Unmap urid_unmap; }; - SharedPtr urid_map_feature() { return _urid_map_feature; } - SharedPtr urid_unmap_feature() { return _urid_unmap_feature; } + SPtr urid_map_feature() { return _urid_map_feature; } + SPtr urid_unmap_feature() { return _urid_unmap_feature; } private: - SharedPtr _urid_map_feature; - SharedPtr _urid_unmap_feature; + SPtr _urid_map_feature; + SPtr _urid_unmap_feature; }; } // namespace Ingen -- cgit v1.2.1