From: curt Date: Fri, 8 Dec 2000 15:22:09 +0000 (+0000) Subject: Tweaks to property manager write routine to return true as it should when X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e175c8cc4d957e8f733a0aa61da850a7c2e858ae;p=simgear.git Tweaks to property manager write routine to return true as it should when the write succeeds. --- diff --git a/simgear/misc/props_io.cxx b/simgear/misc/props_io.cxx index 35c282f6..ebe0f0f6 100644 --- a/simgear/misc/props_io.cxx +++ b/simgear/misc/props_io.cxx @@ -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 << "' << endl; } + + return true; } bool @@ -344,6 +347,8 @@ writePropertyList (ostream &output, const SGPropertyList * props) } output << "" << endl; + + return true; } bool