[Liblas-commits] libpc: namespace closing }'s should not have ; 's after them

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Feb 11 09:35:19 EST 2011


details:   http://hg.liblas.orglibpc/rev/118599619883
changeset: 33:118599619883
user:      Howard Butler <hobu.inc at gmail.com>
date:      Fri Feb 11 08:35:14 2011 -0600
description:
namespace closing }'s should not have ;'s after them

diffstat:

 apps/libpc-config.in           |  63 ++++++++++++++++++++++++++++++++++++++++++
 include/libpc/Bounds.hpp       |   1 +
 include/libpc/ColorFilter.hpp  |   2 +-
 include/libpc/CropFilter.hpp   |   2 +-
 include/libpc/FauxReader.hpp   |   2 +-
 include/libpc/FauxWriter.hpp   |   2 +-
 include/libpc/Field.hpp        |   2 +-
 include/libpc/Filter.hpp       |   2 +-
 include/libpc/Header.hpp       |   2 +-
 include/libpc/MosaicFilter.hpp |   2 +-
 include/libpc/PointData.hpp    |   2 +-
 include/libpc/PointLayout.hpp  |   2 +-
 include/libpc/Range.hpp        |   2 +-
 include/libpc/Reader.hpp       |   2 +-
 include/libpc/Stage.hpp        |   2 +-
 include/libpc/Utils.hpp        |   2 +-
 include/libpc/Writer.hpp       |   2 +-
 17 files changed, 79 insertions(+), 15 deletions(-)

diffs (242 lines):

diff -r cd1488537e4d -r 118599619883 apps/libpc-config.in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apps/libpc-config.in	Fri Feb 11 08:35:14 2011 -0600
@@ -0,0 +1,63 @@
+#!/bin/sh
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+
+
+usage()
+{
+	cat <<EOF
+Usage: liblas-config [OPTIONS]
+Options:
+	[--libs]
+	[--cflags]
+	[--cxxflags]
+	[--defines]
+	[--includes]
+	[--version]
+EOF
+	exit $1
+}
+
+if test $# -eq 0; then
+	usage 1 1>&2
+fi
+
+case $1 in 
+  --libs) 
+    echo $LIBS
+    ;;
+
+  --prefix)
+    echo ${prefix}
+     ;;
+
+  --ldflags)
+    echo -L${libdir}
+    ;;
+
+  --defines)
+    echo @LIBLPC_CONFIG_DEFINITIONS@
+    ;;
+
+  --includes)
+    echo ${INCLUDES}
+    ;;
+
+  --cflags)
+    echo @CMAKE_C_FLAGS@
+    ;;
+
+  --cxxflags)
+    echo @CMAKE_CXX_FLAGS@
+    ;;
+    
+  --version)
+    echo @VERSION@
+    ;;
+
+  *)
+    usage 1 1>&2
+    ;;
+
+esac
diff -r cd1488537e4d -r 118599619883 include/libpc/Bounds.hpp
--- a/include/libpc/Bounds.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Bounds.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -46,6 +46,7 @@
 #include <iostream>
 #include <sstream>
 #include <string>
+#include <stdexcept>
 
 #include "libpc/export.hpp"
 #include "libpc/Range.hpp"
diff -r cd1488537e4d -r 118599619883 include/libpc/ColorFilter.hpp
--- a/include/libpc/ColorFilter.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/ColorFilter.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -59,6 +59,6 @@
   ColorFilter(const ColorFilter&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/CropFilter.hpp
--- a/include/libpc/CropFilter.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/CropFilter.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -58,6 +58,6 @@
   CropFilter(const CropFilter&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/FauxReader.hpp
--- a/include/libpc/FauxReader.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/FauxReader.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -53,6 +53,6 @@
   FauxReader(const FauxReader&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/FauxWriter.hpp
--- a/include/libpc/FauxWriter.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/FauxWriter.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -58,6 +58,6 @@
   FauxWriter(const FauxWriter&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Field.hpp
--- a/include/libpc/Field.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Field.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -104,6 +104,6 @@
   int m_offset; // byte offset within a point buffer
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Filter.hpp
--- a/include/libpc/Filter.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Filter.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -58,6 +58,6 @@
   Filter(const Filter&); // not implemented
 };
 
-};  // namespace libpc
+}  // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Header.hpp
--- a/include/libpc/Header.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Header.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -67,6 +67,6 @@
   Bounds<double> m_bounds;
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/MosaicFilter.hpp
--- a/include/libpc/MosaicFilter.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/MosaicFilter.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -57,6 +57,6 @@
   MosaicFilter(const MosaicFilter&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/PointData.hpp
--- a/include/libpc/PointData.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/PointData.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -116,6 +116,6 @@
   PointData& operator=(const PointData&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/PointLayout.hpp
--- a/include/libpc/PointLayout.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/PointLayout.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -89,6 +89,6 @@
   int m_fieldIndex_Z;
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Range.hpp
--- a/include/libpc/Range.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Range.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -149,5 +149,5 @@
     }
 };
 
-}; // namespace libpc
+} // namespace libpc
 
diff -r cd1488537e4d -r 118599619883 include/libpc/Reader.hpp
--- a/include/libpc/Reader.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Reader.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -55,6 +55,6 @@
   Reader(const Reader&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Stage.hpp
--- a/include/libpc/Stage.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Stage.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -65,6 +65,6 @@
   Stage(const Stage&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Utils.hpp
--- a/include/libpc/Utils.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Utils.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -73,6 +73,6 @@
 
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif
diff -r cd1488537e4d -r 118599619883 include/libpc/Writer.hpp
--- a/include/libpc/Writer.hpp	Fri Feb 11 08:26:47 2011 -0600
+++ b/include/libpc/Writer.hpp	Fri Feb 11 08:35:14 2011 -0600
@@ -67,6 +67,6 @@
   Writer(const Writer&); // not implemented
 };
 
-}; // namespace libpc
+} // namespace libpc
 
 #endif


More information about the Liblas-commits mailing list