diff options
Diffstat (limited to 'src/gui/NodeMenu.hpp')
-rw-r--r-- | src/gui/NodeMenu.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/NodeMenu.hpp b/src/gui/NodeMenu.hpp index a997e03f..b35919eb 100644 --- a/src/gui/NodeMenu.hpp +++ b/src/gui/NodeMenu.hpp @@ -20,7 +20,6 @@ #include "ObjectMenu.hpp" #include "ingen/client/BlockModel.hpp" -#include "ingen/memory.hpp" #include <gtkmm/builder.h> #include <gtkmm/menu.h> @@ -42,7 +41,7 @@ public: NodeMenu(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& xml); - void init(App& app, SPtr<const client::BlockModel> block); + void init(App& app, std::shared_ptr<const client::BlockModel> block); bool has_control_inputs(); @@ -50,7 +49,7 @@ public: sigc::signal<void, bool> signal_embed_gui; protected: - SPtr<const client::BlockModel> block() const { + std::shared_ptr<const client::BlockModel> block() const { return std::dynamic_pointer_cast<const client::BlockModel>(_object); } |