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::istream;
|
||||||
using std::ifstream;
|
using std::ifstream;
|
||||||
using std::ostream;
|
using std::ostream;
|
||||||
|
using std::ofstream;
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|
||||||
@@ -329,6 +330,8 @@ writeNode (ostream &output, SGPropertyNode node, int indent)
|
|||||||
doIndent(output, indent);
|
doIndent(output, indent);
|
||||||
output << "</" << name << '>' << endl;
|
output << "</" << name << '>' << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@@ -344,6 +347,8 @@ writePropertyList (ostream &output, const SGPropertyList * props)
|
|||||||
}
|
}
|
||||||
|
|
||||||
output << "</PropertyList>" << endl;
|
output << "</PropertyList>" << endl;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
Reference in New Issue
Block a user