From 8ce9a587fa280cddb433c20d52253d8eefecceb0 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Tue, 31 Oct 2017 22:07:28 +0100 Subject: [PATCH] __GNU__ isn't a thing (#79) Fixes a typo that never unsilenced the non virtual destructor warning. --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index ae5925d..e0509e8 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1744,7 +1744,7 @@ Options::group_help(const std::string& group) const } -#if defined(__GNU__) +#if defined(__GNUC__) #pragma GCC diagnostic pop #endif