[Liblas-commits] libpc: using often blows my foot off.

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Mar 2 11:58:53 EST 2011


details:   http://hg.liblas.orglibpc/rev/51930cb03047
changeset: 156:51930cb03047
user:      Howard Butler <hobu.inc at gmail.com>
date:      Wed Mar 02 10:58:47 2011 -0600
description:
using often blows my foot off.

diffstat:

 src/PointData.cpp |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 23076ea40a50 -r 51930cb03047 src/PointData.cpp
--- a/src/PointData.cpp	Wed Mar 02 10:49:11 2011 -0600
+++ b/src/PointData.cpp	Wed Mar 02 10:58:47 2011 -0600
@@ -38,7 +38,6 @@
 #include <iostream>
 #include <numeric>
 
-using std::endl;
 using std::string;
 
 namespace libpc
@@ -152,6 +151,8 @@
 
 std::ostream& operator<<(std::ostream& ostr, const PointData& pointData)
 {
+    using std::endl;
+
     const SchemaLayout& schemaLayout = pointData.getSchemaLayout();
     const std::vector<DimensionLayout>& dimensionLayouts = schemaLayout.getDimensionLayouts();
     const std::size_t numPoints = pointData.getNumPoints();


More information about the Liblas-commits mailing list