mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Avoid unknown pragma GCC diagnostic warning on GCC < 9
This commit is contained in:
parent
0c9a7e1cbb
commit
c4e3c2cd75
2
src/3rdparty/cpp-btree/btree.h
vendored
2
src/3rdparty/cpp-btree/btree.h
vendored
@ -726,7 +726,9 @@ class btree_node {
|
|||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
#if (__GNUC__ >= 9)
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||||
|
#endif
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
template <typename Node, typename Reference, typename Pointer>
|
template <typename Node, typename Reference, typename Pointer>
|
||||||
|
Loading…
Reference in New Issue
Block a user