diff options
author | Robin Gareus <robin@gareus.org> | 2014-12-24 04:55:56 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-12-24 05:00:39 +0100 |
commit | 0b471df0c3883bb04103f006192652e6d6eb6807 (patch) | |
tree | 1888b5ca48d1b196600d69b12d95bfe5d6821b7b | |
parent | 8f0f88915277460c292d87103647c29bc01dfcb5 (diff) |
fix clang compilation
error: call to function 'operator>>' that is neither
visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site.
IOW. types.h must be included before using ‘ss >> (T) value’ in
template in pbd/configuration.h
-rw-r--r-- | gtk2_ardour/option_editor.cc | 1 | ||||
-rw-r--r-- | libs/ardour/ardour/rc_configuration.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 7ff5bc5adb..9fb367dfc9 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -22,6 +22,7 @@ #include <gtkmm/alignment.h> #include "gtkmm2ext/utils.h" +#include "ardour/types.h" #include "pbd/configuration.h" #include "ardour/rc_configuration.h" diff --git a/libs/ardour/ardour/rc_configuration.h b/libs/ardour/ardour/rc_configuration.h index 413f1699d3..9f62edd4fb 100644 --- a/libs/ardour/ardour/rc_configuration.h +++ b/libs/ardour/ardour/rc_configuration.h @@ -23,10 +23,10 @@ #include <map> #include <string> +#include "ardour/types.h" #include "pbd/configuration.h" #include "ardour/libardour_visibility.h" -#include "ardour/types.h" #include "ardour/utils.h" class XMLNode; |