Inlined the pragmas for the C++11 tests

This commit is contained in:
Benjamin Blundell
2015-05-22 14:46:36 +01:00
parent ae3ac9dbbe
commit ffbfdc0ef5
12 changed files with 19 additions and 188 deletions

View File

@@ -18,23 +18,6 @@
using namespace soci;
using namespace soci::tests;
#ifdef HAVE_BOOST
// It appears later versions of GCC arent happy with this - to be fixed properly
#if (__GNUC__ == 4 && (__GNUC_MINOR__ > 6)) || (__clang__ == 1)
#include <boost/optional.hpp>
namespace boost {
std::basic_ostream<char, std::char_traits<char> >&
operator<< (std::basic_ostream<char, std::char_traits<char> > & stream
, boost::optional<int> const & value)
{
std::ostringstream oss;
return oss << "Currently not supported.";
}
}
#endif
#endif // HAVE_BOOST
std::string connectString;
backend_factory const &backEnd = *soci::factory_sqlite3();