]> git.mxchange.org Git - simgear.git/commitdiff
Tweaks to property manager write routine to return true as it should when
authorcurt <curt>
Fri, 8 Dec 2000 15:22:09 +0000 (15:22 +0000)
committercurt <curt>
Fri, 8 Dec 2000 15:22:09 +0000 (15:22 +0000)
the write succeeds.

simgear/misc/props_io.cxx

index 35c282f6e73f76cced617ab943cc59df6f5c9557..ebe0f0f67c3ed9f1a3b2f02565cf0ae479e3139a 100644 (file)
@@ -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