mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove references to old boost versions
we already require 1.67
This commit is contained in:
parent
ba12e31251
commit
9f06859390
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user