summaryrefslogtreecommitdiffstats
path: root/src/gui/ingen_gui.cpp
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/ingen_gui.cpp
parent6436ce26daefba37c7a612591a33b18365db69b7 (diff)
downloadingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.gz
ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.bz2
ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.zip
Remove wrappers for standard memory functions
Diffstat (limited to 'src/gui/ingen_gui.cpp')
-rw-r--r--src/gui/ingen_gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/ingen_gui.cpp b/src/gui/ingen_gui.cpp
index 4504d3fe..c26bd205 100644
--- a/src/gui/ingen_gui.cpp
+++ b/src/gui/ingen_gui.cpp
@@ -21,6 +21,8 @@
#include "App.hpp"
+#include <memory>
+
namespace ingen {
namespace gui {
@@ -32,7 +34,7 @@ struct GUIModule : public Module {
if (!world.interface()) {
world.set_interface(
world.new_interface(URI(uri), make_client(world)));
- } else if (!dynamic_ptr_cast<SigClientInterface>(
+ } else if (!std::dynamic_pointer_cast<SigClientInterface>(
world.interface()->respondee())) {
world.interface()->set_respondee(make_client(world));
}