diff options
author | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
commit | 27a1cf2cf73703267cac5bda2acca386afb374b3 (patch) | |
tree | 122ceba55fef1d183d1b32dca1fd60ffdc113112 /gtk2_ardour/gui_object.h | |
parent | effe4de1889bfefba6550dff4244e06c2c7261bd (diff) |
Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:
CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build
git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/gui_object.h')
-rw-r--r-- | gtk2_ardour/gui_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/gui_object.h b/gtk2_ardour/gui_object.h index dd56f4b34c..469d311485 100644 --- a/gtk2_ardour/gui_object.h +++ b/gtk2_ardour/gui_object.h @@ -43,7 +43,7 @@ public: std::string get_string (const std::string& id, const std::string& prop_name, bool* empty = 0); - template<typename T> void set (const std::string& id, const std::string& prop_name, const T& val) { + template<typename T> void set_property (const std::string& id, const std::string& prop_name, const T& val) { XMLNode* child = get_or_add_node (id); std::stringstream s; s << val; |