Clean up warning disable code

This commit is contained in:
Robert Osfield
2009-02-03 20:26:26 +00:00
parent 2540c7dd57
commit ff66ca022e
2 changed files with 5 additions and 16 deletions

View File

@@ -15,12 +15,6 @@
#ifndef OSGINTROSPECTION_TYPEDMETHODINFO_
#define OSGINTROSPECTION_TYPEDMETHODINFO_
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS)
// disable for this header the VS warning C4121 : "alignment of a member was sensitive to packing"
#pragma warning( push )
#pragma warning( disable : 4121)
#endif
#include <osgIntrospection/MethodInfo>
#include <osgIntrospection/Reflection>
#include <osgIntrospection/Utility>
@@ -3907,9 +3901,5 @@ namespace osgIntrospection
}
#if defined(_MSC_VER)
#pragma warning( pop )
#endif
#endif