Remove references to old boost versions

we already require 1.67
This commit is contained in:
Richard Cohen 2021-10-17 18:57:59 +01:00 committed by Richard Cohen
parent ba12e31251
commit 9f06859390
2 changed files with 3 additions and 11 deletions

View File

@ -26,10 +26,7 @@
#include <config.h> #include <config.h>
#include "qof.h" #include "qof.h"
#include <boost/version.hpp>
#if BOOST_VERSION == 105600
#include <boost/type_traits/is_nothrow_move_assignable.hpp>
#endif
#include <boost/variant.hpp> #include <boost/variant.hpp>
//Must be a struct because it's exposed to C so that it can in turn be //Must be a struct because it's exposed to C so that it can in turn be

View File

@ -30,7 +30,6 @@
#include <string> #include <string>
#include <iostream> #include <iostream>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <boost/version.hpp>
TEST (GncGUID, creation) TEST (GncGUID, creation)
{ {
@ -79,12 +78,8 @@ TEST (GncGUID, from_string)
{ {
fail = true; fail = true;
} }
/* Currently, boost uuid string parsing is mostly very permissive, but it has some
* odd pet peeves. See https://svn.boost.org/trac/boost/ticket/12253 for more.*/ EXPECT_TRUE (fail) << "Parsing the bogus string should throw";
if (BOOST_VERSION >= 106600)
EXPECT_TRUE (fail) << "Parsing the bogus string should throw";
else
EXPECT_FALSE (fail) << "Perhaps boost uuid is fixed.";
} }
TEST (GncGUID, round_trip) TEST (GncGUID, round_trip)