mirror of
https://github.com/SOCI/soci.git
synced 2026-02-13 09:08:46 -06:00
Inlined the pragmas for the C++11 tests
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user