From eef993daeaedfdcde1d580d860843f06dc8b8892 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Feb 2013 17:12:00 +0000 Subject: Fix compilation with Clang 3.1. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5039 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ingen_gui_lv2.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/ingen_gui_lv2.cpp') 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(); -- cgit v1.2.1