Added a using namespace std; and removed std:: from from std::hex and std::dec.

This commit is contained in:
Robert Osfield
2002-08-15 14:09:36 +00:00
parent 4cbab17096
commit ccbc1df85b

View File

@@ -8,6 +8,7 @@
using namespace osg;
using namespace osgDB;
using namespace std;
// forward declare functions to use later.
bool GeoState_readLocalData(Object& obj, Input& fr);
@@ -522,7 +523,7 @@ bool StateSet_writeLocalData(const Object& obj, Output& fw)
else
{
// no name defined for GLMode so just pass its value to fw.
fw.indent() << "0x" << std::hex << (osg::uint)mitr->first << std::dec <<" " << StateSet_getModeStr(mitr->second) << std::endl;
fw.indent() << "0x" << hex << (osg::uint)mitr->first << dec <<" " << StateSet_getModeStr(mitr->second) << std::endl;
}
}
@@ -556,7 +557,7 @@ bool StateSet_writeLocalData(const Object& obj, Output& fw)
else
{
// no name defined for GLMode so just pass its value to fw.
fw.indent() << "0x" << std::hex << (osg::uint)mitr->first << std::dec <<" " << StateSet_getModeStr(mitr->second) << std::endl;
fw.indent() << "0x" << hex << (osg::uint)mitr->first << dec <<" " << StateSet_getModeStr(mitr->second) << std::endl;
}
}
}