]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props.hxx
Misc MSVC tweaks.
[simgear.git] / simgear / misc / props.hxx
index 5a1a32b0b506eb742553e298e9bf7941bca5045d..bcaf66647732cb575a83d61262c3c61f3b37cf40 100644 (file)
@@ -694,7 +694,7 @@ public:
   /**
    * Check a single mode attribute for the property node.
    */
-  bool getAttribute (Attribute attr) const { return (_attr & attr); }
+  bool getAttribute (Attribute attr) const { return (bool)(_attr & attr); }
 
 
   /**
@@ -1067,26 +1067,26 @@ private:
 /**
  * Read properties from an XML input stream.
  */
-bool readProperties (istream &input, SGPropertyNode * start_node,
+void readProperties (istream &input, SGPropertyNode * start_node,
                     const string &base = "");
 
 
 /**
  * Read properties from an XML file.
  */
-bool readProperties (const string &file, SGPropertyNode * start_node);
+void readProperties (const string &file, SGPropertyNode * start_node);
 
 
 /**
  * Write properties to an XML output stream.
  */
-bool writeProperties (ostream &output, const SGPropertyNode * start_node);
+void writeProperties (ostream &output, const SGPropertyNode * start_node);
 
 
 /**
  * Write properties to an XML file.
  */
-bool writeProperties (const string &file, const SGPropertyNode * start_node);
+void writeProperties (const string &file, const SGPropertyNode * start_node);
 
 
 /**