Clean-up code to satisfy GCC's pedantic mode requirements. Add fix for Clang not working with GCC 5 C++ library (https://llvm.org/bugs/show_bug.cgi?id=23529)

This commit is contained in:
Marko Zivanovic
2015-11-25 15:22:13 +01:00
parent d1759caf1c
commit aecbc92030
8 changed files with 33 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifdef __clang__
#include <string>
#include <boost/test/unit_test.hpp>
namespace boost { namespace unit_test { namespace ut_detail {
std::string normalize_test_case_name(const_string name) {
return ( name[0] == '&' ? std::string(name.begin()+1, name.size()-1) : std::string(name.begin(), name.size() ));
}
}}}
#endif