diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 15:23:19 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 15:23:19 +0200 |
commit | bdbdf42f3fe990c713c5437724db39274c387eee (patch) | |
tree | 7f921a04fd580da6bcb6fc8975fa2aebfcd93e0f /src/gui/SubgraphModule.hpp | |
parent | ec0b87a18623c17c16f6a648fcf277abe14142b7 (diff) | |
download | ingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.gz ingen-bdbdf42f3fe990c713c5437724db39274c387eee.tar.bz2 ingen-bdbdf42f3fe990c713c5437724db39274c387eee.zip |
Remove std::shared_ptr alias
Diffstat (limited to 'src/gui/SubgraphModule.hpp')
-rw-r--r-- | src/gui/SubgraphModule.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/SubgraphModule.hpp b/src/gui/SubgraphModule.hpp index 1571c2ee..816d042a 100644 --- a/src/gui/SubgraphModule.hpp +++ b/src/gui/SubgraphModule.hpp @@ -17,11 +17,11 @@ #ifndef INGEN_GUI_SUBGRAPHMODULE_HPP #define INGEN_GUI_SUBGRAPHMODULE_HPP -#include "ingen/memory.hpp" - #include "GraphPortModule.hpp" #include "NodeModule.hpp" +#include <memory> + namespace ingen { namespace client { @@ -40,7 +40,8 @@ class GraphCanvas; class SubgraphModule : public NodeModule { public: - SubgraphModule(GraphCanvas& canvas, SPtr<const client::GraphModel> graph); + SubgraphModule(GraphCanvas& canvas, + std::shared_ptr<const client::GraphModel> graph); ~SubgraphModule() override = default; @@ -51,10 +52,10 @@ public: void browse_to_graph(); void menu_remove(); - SPtr<const client::GraphModel> graph() const { return _graph; } + std::shared_ptr<const client::GraphModel> graph() const { return _graph; } protected: - SPtr<const client::GraphModel> _graph; + std::shared_ptr<const client::GraphModel> _graph; }; } // namespace gui |