From 9f068593900de5524c412d9eecd2ef9292ba9452 Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Sun, 17 Oct 2021 18:57:59 +0100 Subject: [PATCH] Remove references to old boost versions we already require 1.67 --- libgnucash/engine/kvp-value.hpp | 5 +---- libgnucash/engine/test/test-gnc-guid.cpp | 9 ++------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/libgnucash/engine/kvp-value.hpp b/libgnucash/engine/kvp-value.hpp index 515f69240a8..5ae4949716c 100644 --- a/libgnucash/engine/kvp-value.hpp +++ b/libgnucash/engine/kvp-value.hpp @@ -26,10 +26,7 @@ #include #include "qof.h" -#include -#if BOOST_VERSION == 105600 -#include -#endif + #include //Must be a struct because it's exposed to C so that it can in turn be diff --git a/libgnucash/engine/test/test-gnc-guid.cpp b/libgnucash/engine/test/test-gnc-guid.cpp index 86baf9ea9aa..f31d3b99b2b 100644 --- a/libgnucash/engine/test/test-gnc-guid.cpp +++ b/libgnucash/engine/test/test-gnc-guid.cpp @@ -30,7 +30,6 @@ #include #include #include -#include TEST (GncGUID, creation) { @@ -79,12 +78,8 @@ TEST (GncGUID, from_string) { 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.*/ - if (BOOST_VERSION >= 106600) - EXPECT_TRUE (fail) << "Parsing the bogus string should throw"; - else - EXPECT_FALSE (fail) << "Perhaps boost uuid is fixed."; + + EXPECT_TRUE (fail) << "Parsing the bogus string should throw"; } TEST (GncGUID, round_trip)