Warning fixes

This commit is contained in:
Robert Osfield
2009-02-03 15:28:53 +00:00
parent abb63e3199
commit 734463fcc7
22 changed files with 107 additions and 22 deletions

View File

@@ -631,6 +631,10 @@ namespace osgIntrospection
values.push_back(Value(i->first).convertTo(_itype));
}
}
protected:
Indexer& operator = (const Indexer&) { return *this; }
};
struct Remover: PropertyRemover

View File

@@ -32,7 +32,6 @@ namespace osgIntrospection
Value createInstance(ValueList& /*args*/) const
{
return IC::create();
}

View File

@@ -15,7 +15,7 @@
#ifndef OSGINTROSPECTION_TYPEDMETHODINFO_
#define OSGINTROSPECTION_TYPEDMETHODINFO_
#if defined(_MSC_VER)
#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)