MergedProxyModel: Ignore -Wstringop-overflow

This commit is contained in:
Jonas Kvinge
2026-01-17 16:22:37 +01:00
parent cd013db33b
commit 64540ef6f9

View File

@@ -34,6 +34,13 @@
#include "mergedproxymodel.h" #include "mergedproxymodel.h"
#ifdef __GNUC__
#pragma GCC diagnostic push
#if __GNUC__ >= 16
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
#endif
#include <boost/multi_index/detail/bidir_node_iterator.hpp> #include <boost/multi_index/detail/bidir_node_iterator.hpp>
#include <boost/multi_index/detail/hash_index_iterator.hpp> #include <boost/multi_index/detail/hash_index_iterator.hpp>
#include <boost/multi_index/hashed_index.hpp> #include <boost/multi_index/hashed_index.hpp>
@@ -45,6 +52,10 @@
#include <boost/multi_index_container.hpp> #include <boost/multi_index_container.hpp>
#include <boost/operators.hpp> #include <boost/operators.hpp>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
using boost::multi_index::hashed_unique; using boost::multi_index::hashed_unique;
using boost::multi_index::identity; using boost::multi_index::identity;
using boost::multi_index::indexed_by; using boost::multi_index::indexed_by;