drop obsolete compiler warning suppression

This commit is contained in:
Jörg Thalheim 2023-12-10 20:19:44 +01:00 committed by mergify[bot]
parent b6ec7d2ecf
commit c00fcbba8d

View file

@ -27,12 +27,6 @@
using namespace nix;
using namespace nlohmann;
// Safe to ignore - the args will be static.
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#elif __clang__
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
static MyArgs myArgs;
typedef std::function<void(ref<EvalState> state, Bindings &autoArgs,