summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeMenu.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 16:34:02 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b (patch)
tree8bd1158a4b0ae665e395b14832e3e504e7cf2f7d /src/gui/NodeMenu.hpp
parent6436ce26daefba37c7a612591a33b18365db69b7 (diff)
downloadingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.gz
ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.bz2
ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.zip
Remove wrappers for standard memory functions
Diffstat (limited to 'src/gui/NodeMenu.hpp')
-rw-r--r--src/gui/NodeMenu.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/NodeMenu.hpp b/src/gui/NodeMenu.hpp
index 2a3268b4..8bc820e8 100644
--- a/src/gui/NodeMenu.hpp
+++ b/src/gui/NodeMenu.hpp
@@ -26,6 +26,7 @@
#include <gtkmm/menu.h>
#include <gtkmm/menushell.h>
+#include <memory>
#include <string>
namespace ingen {
@@ -50,7 +51,7 @@ public:
protected:
SPtr<const client::BlockModel> block() const {
- return dynamic_ptr_cast<const client::BlockModel>(_object);
+ return std::dynamic_pointer_cast<const client::BlockModel>(_object);
}
void add_preset(const URI& uri, const std::string& label);