This commit is contained in:
Robert Osfield 2010-10-01 17:07:27 +00:00
parent fbbc8824cf
commit c294814e95

View File

@ -229,7 +229,7 @@ public:
virtual bool write( OutputStream& os, const osg::Object& obj )
{
const C& object = OBJECT_CAST<const C&>(obj);
const P value = (object.*_getter)();
P value = (object.*_getter)();
if ( os.isBinary() )
{
os << value;
@ -287,7 +287,7 @@ public:
virtual bool write( OutputStream& os, const osg::Object& obj )
{
const C& object = OBJECT_CAST<const C&>(obj);
const CP value = (object.*_getter)();
CP value = (object.*_getter)();
if ( os.isBinary() )
{
os << value;