summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-03-02 15:24:02 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-03-02 15:24:02 (GMT)
commitd4243bc66fc911012c8222514d5b33a222993ae5 (patch)
tree58ccc7f802a7129f65628019e88d94a1df6c44d2 /src
parentb3ecf217127b65582a6770b30df7bbb602ed778f (diff)
downloadDoxygen-d4243bc66fc911012c8222514d5b33a222993ae5.zip
Doxygen-d4243bc66fc911012c8222514d5b33a222993ae5.tar.gz
Doxygen-d4243bc66fc911012c8222514d5b33a222993ae5.tar.bz2
Disabled "inheritance by dominance" warning (try 2)
Diffstat (limited to 'src')
-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;