summaryrefslogtreecommitdiffstats
path: root/src/gui/Arc.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 /src/gui/Arc.hpp
parentec0b87a18623c17c16f6a648fcf277abe14142b7 (diff)
downloadingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.gz
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.bz2
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.zip
Remove std::shared_ptr alias
Diffstat (limited to 'src/gui/Arc.hpp')
-rw-r--r--src/gui/Arc.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/Arc.hpp b/src/gui/Arc.hpp
index a20c4e5f..ad40d6bf 100644
--- a/src/gui/Arc.hpp
+++ b/src/gui/Arc.hpp
@@ -18,9 +18,9 @@
#define INGEN_GUI_ARC_HPP
#include "ganv/Edge.hpp"
-#include "ingen/memory.hpp"
#include <cassert>
+#include <memory>
namespace ingen {
@@ -35,15 +35,15 @@ namespace gui {
class Arc : public Ganv::Edge
{
public:
- Arc(Ganv::Canvas& canvas,
- const SPtr<const client::ArcModel>& model,
- Ganv::Node* src,
- Ganv::Node* dst);
+ Arc(Ganv::Canvas& canvas,
+ const std::shared_ptr<const client::ArcModel>& model,
+ Ganv::Node* src,
+ Ganv::Node* dst);
- SPtr<const client::ArcModel> model() const { return _arc_model; }
+ std::shared_ptr<const client::ArcModel> model() const { return _arc_model; }
private:
- SPtr<const client::ArcModel> _arc_model;
+ std::shared_ptr<const client::ArcModel> _arc_model;
};
} // namespace gui