summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ingen_gui_lv2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp
index 8f258e99..061f2276 100644
--- a/src/gui/ingen_gui_lv2.cpp
+++ b/src/gui/ingen_gui_lv2.cpp
@@ -88,6 +88,10 @@ instantiate(const LV2UI_Descriptor* descriptor,
LV2UI_Widget* widget,
const LV2_Feature* const* features)
{
+#if __cplusplus >= 201103L
+ using Ingen::SPtr;
+#endif
+
Ingen::set_bundle_path(bundle_path);
Ingen::IngenLV2UI* ui = new Ingen::IngenLV2UI();