[Liblas-commits] hg-main-tree: gcc fix

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Aug 17 01:13:10 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/8682e1469871
changeset: 1125:8682e1469871
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Tue Aug 16 22:12:54 2011 -0700
description:
gcc fix

diffstat:

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

diffs (12 lines):

diff -r b783d1c72c38 -r 8682e1469871 src/PointBuffer.cpp
--- a/src/PointBuffer.cpp	Tue Aug 16 22:03:58 2011 -0700
+++ b/src/PointBuffer.cpp	Tue Aug 16 22:12:54 2011 -0700
@@ -156,7 +156,7 @@
             
             switch (dimension.getDataType())
             {
-#define GETFIELDAS(type) getField<##type##>(pointIndex, fieldIndex)
+#define GETFIELDAS(T) getField<T>(pointIndex, fieldIndex)
 #define STRINGIFY(x) boost::lexical_cast<std::string>(x)
                 // note we convert 8-bit fields to ints, so they aren't treated as chars
             case Dimension::Int8:


More information about the Liblas-commits mailing list