13
0

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
This commit is contained in:
Robin Gareus 2014-12-24 04:55:56 +01:00
parent 8f0f889152
commit 0b471df0c3
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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;