summaryrefslogtreecommitdiffstats
path: root/src/client/ClientStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r--src/client/ClientStore.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 279d0cc6..74b307a5 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -315,8 +315,10 @@ ClientStore::operator()(const Put& msg)
p->second.type() == _uris.forge.URID)) {
const URI uri(_uris.forge.str(p->second, false));
if (!(plug = _plugin(uri))) {
- plug = SPtr<PluginModel>(
- new PluginModel(uris(), uri, Atom(), Properties()));
+ plug = std::make_shared<PluginModel>(uris(),
+ uri,
+ Atom(),
+ Properties());
add_plugin(plug);
}