summaryrefslogtreecommitdiffstats
path: root/include/ingen/client/ArcModel.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 15:23:19 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 15:23:19 +0200
commitbdbdf42f3fe990c713c5437724db39274c387eee (patch)
tree7f921a04fd580da6bcb6fc8975fa2aebfcd93e0f /include/ingen/client/ArcModel.hpp
parentec0b87a18623c17c16f6a648fcf277abe14142b7 (diff)
downloadingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.gz
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.bz2
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.zip
Remove std::shared_ptr alias
Diffstat (limited to 'include/ingen/client/ArcModel.hpp')
-rw-r--r--include/ingen/client/ArcModel.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/ingen/client/ArcModel.hpp b/include/ingen/client/ArcModel.hpp
index 582314ca..05f104e4 100644
--- a/include/ingen/client/ArcModel.hpp
+++ b/include/ingen/client/ArcModel.hpp
@@ -20,10 +20,10 @@
#include "ingen/Arc.hpp"
#include "ingen/client/PortModel.hpp"
#include "ingen/ingen.h"
-#include "ingen/memory.hpp"
#include "raul/Path.hpp"
#include <cassert>
+#include <memory>
namespace ingen {
namespace client {
@@ -37,8 +37,8 @@ class ClientStore;
class INGEN_API ArcModel : public Arc
{
public:
- SPtr<PortModel> tail() const { return _tail; }
- SPtr<PortModel> head() const { return _head; }
+ std::shared_ptr<PortModel> tail() const { return _tail; }
+ std::shared_ptr<PortModel> head() const { return _head; }
const Raul::Path& tail_path() const override { return _tail->path(); }
const Raul::Path& head_path() const override { return _head->path(); }
@@ -46,7 +46,7 @@ public:
private:
friend class ClientStore;
- ArcModel(SPtr<PortModel> tail, SPtr<PortModel> head)
+ ArcModel(std::shared_ptr<PortModel> tail, std::shared_ptr<PortModel> head)
: _tail(std::move(tail))
, _head(std::move(head))
{
@@ -57,8 +57,8 @@ private:
assert(_tail->path() != _head->path());
}
- const SPtr<PortModel> _tail;
- const SPtr<PortModel> _head;
+ const std::shared_ptr<PortModel> _tail;
+ const std::shared_ptr<PortModel> _head;
};
} // namespace client