Fixes for native Irix compilers.
This commit is contained in:
parent
a84a88bf09
commit
b8e93e6099
@ -269,7 +269,7 @@
|
||||
# define STL_FSTREAM <fstream.h>
|
||||
# define STL_STDEXCEPT <stdexcept>
|
||||
# define STL_STRING <string>
|
||||
# define STL_STRSTREAM <strstream>
|
||||
# define STL_STRSTREAM <strstream.h>
|
||||
|
||||
#endif // Native SGI compilers
|
||||
|
||||
|
@ -112,7 +112,7 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts)
|
||||
State &st = state();
|
||||
|
||||
if (_level == 0) {
|
||||
if (string(name) != "PropertyList") {
|
||||
if (string(name) != (string)"PropertyList") {
|
||||
SG_LOG(SG_INPUT, SG_ALERT, "Root element name is " <<
|
||||
name << "; expected PropertyList");
|
||||
_ok = false;
|
||||
|
Loading…
Reference in New Issue
Block a user