[Liblas-commits] hg: 2 new changesets
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Dec 31 12:17:31 EST 2009
changeset a057371e9da7 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=a057371e9da7
summary: Catch up with recent LASVersion improvements and compilation warnings cleanup.
changeset 617d81e00169 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=617d81e00169
summary: merged
diffstat:
README | 2 +-
test/unit/laspoint_test.cpp | 10 +++++-----
test/unit/lasreader_test.cpp | 2 +-
test/unit/laswriter_test.cpp | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diffs (90 lines):
diff -r 008dd83b4d5d -r 617d81e00169 README
--- a/README Thu Dec 31 03:03:19 2009 +0000
+++ b/README Thu Dec 31 17:17:12 2009 +0000
@@ -1,4 +1,4 @@
-
+
libLAS - LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset
==============================================================================
diff -r 008dd83b4d5d -r 617d81e00169 test/unit/laspoint_test.cpp
--- a/test/unit/laspoint_test.cpp Thu Dec 31 03:03:19 2009 +0000
+++ b/test/unit/laspoint_test.cpp Thu Dec 31 17:17:12 2009 +0000
@@ -105,7 +105,7 @@
}
catch (liblas::invalid_point_data const& e)
{
- ensure_equals(e.who() & liblas::LASPoint::eReturnNumber,
+ ensure_equals(e.who(), liblas::LASPoint::eReturnNumber,
liblas::LASPoint::eReturnNumber);
}
}
@@ -140,7 +140,7 @@
}
catch (liblas::invalid_point_data const& e)
{
- ensure_equals(e.who() & liblas::LASPoint::eNumberOfReturns,
+ ensure_equals(e.who(), liblas::LASPoint::eNumberOfReturns,
liblas::LASPoint::eNumberOfReturns);
}
}
@@ -175,7 +175,7 @@
}
catch (liblas::invalid_point_data const& e)
{
- ensure_equals(e.who() & liblas::LASPoint::eScanDirection,
+ ensure_equals(e.who(), liblas::LASPoint::eScanDirection,
liblas::LASPoint::eScanDirection);
}
}
@@ -210,7 +210,7 @@
}
catch (liblas::invalid_point_data const& e)
{
- ensure_equals(e.who() & liblas::LASPoint::eFlightLineEdge,
+ ensure_equals(e.who(), liblas::LASPoint::eFlightLineEdge,
liblas::LASPoint::eFlightLineEdge);
}
}
@@ -293,7 +293,7 @@
}
catch (liblas::invalid_point_data const& e)
{
- ensure_equals(e.who() & liblas::LASPoint::eScanAngleRank,
+ ensure_equals(e.who(), liblas::LASPoint::eScanAngleRank,
liblas::LASPoint::eScanAngleRank);
}
}
diff -r 008dd83b4d5d -r 617d81e00169 test/unit/lasreader_test.cpp
--- a/test/unit/lasreader_test.cpp Thu Dec 31 03:03:19 2009 +0000
+++ b/test/unit/lasreader_test.cpp Thu Dec 31 17:17:12 2009 +0000
@@ -41,7 +41,7 @@
ifs.open(file10_.c_str(), std::ios::in | std::ios::binary);
liblas::LASReader reader(ifs);
- ensure_equals<std::size_t>(reader.GetVersion(), liblas::eLASVersion10);
+ ensure_equals(reader.GetVersion(), liblas::eLASVersion10);
}
// Test reading header
diff -r 008dd83b4d5d -r 617d81e00169 test/unit/laswriter_test.cpp
--- a/test/unit/laswriter_test.cpp Thu Dec 31 03:03:19 2009 +0000
+++ b/test/unit/laswriter_test.cpp Thu Dec 31 17:17:12 2009 +0000
@@ -62,7 +62,7 @@
liblas::LASHeader header;
liblas::LASWriter writer(ofs, header);
- ensure_equals<std::size_t>(writer.GetVersion(), liblas::eLASVersion12);
+ ensure_equals(writer.GetVersion(), liblas::eLASVersion12);
liblas::LASHeader const& hdr_default = writer.GetHeader();
test_default_header(hdr_default);
@@ -76,7 +76,7 @@
liblas::LASReader reader(ifs);
- ensure_equals<std::size_t>(reader.GetVersion(), liblas::eLASVersion12);
+ ensure_equals(reader.GetVersion(), liblas::eLASVersion12);
liblas::LASHeader const& hdr_default = reader.GetHeader();
test_default_header(hdr_default);
More information about the Liblas-commits
mailing list