Skip to content

Commit

Permalink
Remove references to old boost versions
Browse files Browse the repository at this point in the history
we already require 1.67
  • Loading branch information
Richard Cohen authored and richardcohen committed Feb 27, 2023
1 parent ba12e31 commit 9f06859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions libgnucash/engine/kvp-value.hpp
Expand Up @@ -26,10 +26,7 @@

#include <config.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>

//Must be a struct because it's exposed to C so that it can in turn be
Expand Down
9 changes: 2 additions & 7 deletions libgnucash/engine/test/test-gnc-guid.cpp
Expand Up @@ -30,7 +30,6 @@
#include <string>
#include <iostream>
#include <gtest/gtest.h>
#include <boost/version.hpp>

TEST (GncGUID, creation)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9f06859

Please sign in to comment.