summaryrefslogtreecommitdiffstats
path: root/include/ingen/URIMap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ingen/URIMap.hpp')
-rw-r--r--include/ingen/URIMap.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ingen/URIMap.hpp b/include/ingen/URIMap.hpp
index f5ae8a37..de137af2 100644
--- a/include/ingen/URIMap.hpp
+++ b/include/ingen/URIMap.hpp
@@ -58,8 +58,7 @@ public:
std::shared_ptr<LV2_Feature> feature(World&, Node*) override
{
- return std::shared_ptr<LV2_Feature>(&_feature,
- NullDeleter<LV2_Feature>);
+ return {&_feature, NullDeleter<LV2_Feature>};
}
private: