mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 13:34:06 +00:00
Disable self-move warnings for gcc in node_handle_tests
This commit is contained in:
parent
866ab46385
commit
15d04295d6
@ -4,6 +4,8 @@
|
||||
// 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)
|
||||
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#include "../helpers/postfix.hpp"
|
||||
#include "../helpers/prefix.hpp"
|
||||
#include "../helpers/unordered.hpp"
|
||||
@ -17,6 +19,11 @@
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#if defined(BOOST_GCC) && BOOST_GCC >= 130000
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wself-move"
|
||||
#endif
|
||||
|
||||
template <template <class Key, class T, class Hash = boost::hash<Key>,
|
||||
class Pred = std::equal_to<Key>,
|
||||
class Allocator = std::allocator<std::pair<Key const, T> > >
|
||||
|
Loading…
x
Reference in New Issue
Block a user