#include <simgear/compiler.h>
#include <plib/ul.h>
-#include STL_STRING
+#include <string>
#include <sstream>
+#include <istream>
#include <osg/Array>
#include <osg/Geometry>
#include "ReaderWriterSTG.hxx"
#include "TileEntry.hxx"
-SG_USING_STD(string);
+using std::string;
using namespace simgear;
ModelLoadHelper *TileEntry::_modelLoader=0;
if (node)
geometry->addChild(node);
- return node;
+ return node != 0;
}
// storage class for deferred object processing in TileEntry::load()
struct Object {
- Object(object_type t, const string& token, const SGPath& p, istream& in)
+ Object(object_type t, const string& token, const SGPath& p,
+ std::istream& in)
: type(t), path(p)
{
in >> name;