Tweaks to property manager write routine to return true as it should when
the write succeeds.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
using std::istream;
|
||||
using std::ifstream;
|
||||
using std::ostream;
|
||||
using std::ofstream;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
@@ -329,6 +330,8 @@ writeNode (ostream &output, SGPropertyNode node, int indent)
|
||||
doIndent(output, indent);
|
||||
output << "</" << name << '>' << endl;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -344,6 +347,8 @@ writePropertyList (ostream &output, const SGPropertyList * props)
|
||||
}
|
||||
|
||||
output << "</PropertyList>" << endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user