]> git.mxchange.org Git - simgear.git/commitdiff
Added exceptions.[ch]xx
authorcurt <curt>
Thu, 19 Jul 2001 02:34:43 +0000 (02:34 +0000)
committercurt <curt>
Thu, 19 Jul 2001 02:34:43 +0000 (02:34 +0000)
simgear/misc/Makefile.am
simgear/misc/props_test.cxx

index 4cd437429b31f6f380fc87016740fedbccc0dd89..0014ec1631168b8aaf50bf5d5c285b3e6162c771 100644 (file)
@@ -10,6 +10,7 @@ lib_LIBRARIES = libsgmisc.a
 
 include_HEADERS = \
         commands.hxx \
+        exception.hxx
        props.hxx \
        sg_path.hxx \
        sgstream.hxx \
@@ -20,6 +21,7 @@ include_HEADERS = \
 
 libsgmisc_a_SOURCES = \
         commands.cxx \
+        exception.cxx \
        props.cxx \
         props_io.cxx \
        sg_path.cxx \
index da88d00f46a52e42b547291308d6d73007e930d9..15a48abca1ee50039e8d7283684d34a573338b20 100644 (file)
@@ -334,10 +334,8 @@ int main (int ac, char ** av)
   for (int i = 1; i < ac; i++) {
     cout << "Reading " << av[i] << endl;
     SGPropertyNode root;
-    if (!readProperties(av[i], &root))
-      cerr << "Failed to read properties from " << av[i] << endl;
-    else
-      writeProperties(cout, &root);
+    readProperties(av[i], &root);
+    writeProperties(cout, &root);
     cout << endl;
   }