summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphWindow.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/GraphWindow.hpp
parentec0b87a18623c17c16f6a648fcf277abe14142b7 (diff)
downloadingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.gz
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.bz2
ingen-bdbdf42f3fe990c713c5437724db39274c387eee.zip
Remove std::shared_ptr alias
Diffstat (limited to 'src/gui/GraphWindow.hpp')
-rw-r--r--src/gui/GraphWindow.hpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/GraphWindow.hpp b/src/gui/GraphWindow.hpp
index 795f0925..96775d82 100644
--- a/src/gui/GraphWindow.hpp
+++ b/src/gui/GraphWindow.hpp
@@ -20,10 +20,9 @@
#include "GraphBox.hpp"
#include "Window.hpp"
-#include "ingen/memory.hpp"
-
#include <gtkmm/builder.h>
+#include <memory>
#include <string>
namespace ingen {
@@ -48,8 +47,12 @@ public:
void init_window(App& app) override;
- SPtr<const client::GraphModel> graph() const { return _box->graph(); }
- GraphBox* box() const { return _box; }
+ std::shared_ptr<const client::GraphModel> graph() const
+ {
+ return _box->graph();
+ }
+
+ GraphBox* box() const { return _box; }
bool documentation_is_visible() { return _box->documentation_is_visible(); }