summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classdef.cpp6
-rw-r--r--src/definition.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 5ea8cea..cd7b3a1 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -49,6 +49,12 @@
//-----------------------------------------------------------------------------
+#if defined(_WIN32) && !defined(__CYGWIN__)
+// To disable 'inherits via dominance' warnings.
+// See also https://stackoverflow.com/a/14487243/784672
+#pragma warning( disable: 4250 )
+#endif
+
/** Implementation of the ClassDef interface */
class ClassDefImpl : public DefinitionImpl, public ClassDef
diff --git a/src/definition.h b/src/definition.h
index a2307f7..a7bcf2a 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -23,12 +23,6 @@
#include "types.h"
-#if defined(_WIN32) && !defined(__CYGWIN__)
-// To disable 'inherits via dominance' warnings.
-// See also https://stackoverflow.com/a/14487243/784672
-#pragma warning( disable: 4250 )
-#endif
-
class FileDef;
class OutputList;
class SectionDict;