From c00fcbba8de26558a60a7408bf9e61022c635805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 10 Dec 2023 20:19:44 +0100 Subject: [PATCH] drop obsolete compiler warning suppression --- src/nix-eval-jobs.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 0429529..d1dd7a6 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -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 state, Bindings &autoArgs,