Avoid unknown pragma GCC diagnostic warning on GCC < 9

This commit is contained in:
Jonathan G Rennison 2021-11-11 00:54:57 +00:00
parent 0c9a7e1cbb
commit c4e3c2cd75

View File

@ -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>