summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'ingen')
-rw-r--r--ingen/DataAccess.hpp4
-rw-r--r--ingen/Serialiser.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/ingen/DataAccess.hpp b/ingen/DataAccess.hpp
index 34b59a49..662b04e9 100644
--- a/ingen/DataAccess.hpp
+++ b/ingen/DataAccess.hpp
@@ -58,8 +58,8 @@ struct DataAccess : public ingen::LV2Features::Feature
data->data_access = desc->extension_data;
- return SPtr<LV2_Feature>(
- new LV2_Feature{ "http://lv2plug.in/ns/ext/data-access", data });
+ return make_shared<LV2_Feature>(
+ LV2_Feature{"http://lv2plug.in/ns/ext/data-access", data});
}
};
diff --git a/ingen/Serialiser.hpp b/ingen/Serialiser.hpp
index 16a7a912..c4598f12 100644
--- a/ingen/Serialiser.hpp
+++ b/ingen/Serialiser.hpp
@@ -97,7 +97,7 @@ public:
private:
struct Impl;
- Impl* me;
+ UPtr<Impl> me;
};
} // namespace ingen