Fix a problem where older IRIX compilers needed a typecast for certain opperations

This commit is contained in:
ehofman
2003-10-16 12:51:47 +00:00
parent db928ea1ae
commit 3c08eae85b
8 changed files with 58 additions and 11 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ sg_location::asString () const
{
char buf[128];
string out = "";
if (_path != (string)"") {
if (!_path.empty()) {
out += _path;
if (_line != -1 || _column != -1)
out += ",\n";