forked from boostorg/unordered
workaround for lack of ref-qualified memfun support in GCC<=4.7
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2021 Christian Mazakas.
|
// Copyright 2021-2022 Christian Mazakas.
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
@@ -13,7 +13,8 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if BOOST_CXX_VERSION >= 201103L
|
#if BOOST_CXX_VERSION >= 201103L && \
|
||||||
|
(!defined(BOOST_GCC_VERSION) || BOOST_GCC_VERSION >= 40800)
|
||||||
#define UNORDERED_LVALUE_QUAL &
|
#define UNORDERED_LVALUE_QUAL &
|
||||||
#else
|
#else
|
||||||
#define UNORDERED_LVALUE_QUAL
|
#define UNORDERED_LVALUE_QUAL
|
||||||
|
Reference in New Issue
Block a user