[Liblas-commits] r1275 - trunk/src
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Jun 8 21:52:13 EDT 2009
Author: hobu
Date: Wed May 20 14:15:00 2009
New Revision: 1275
URL: http://liblas.org/changeset/1275
Log:
do'h, we want comparison, not assignment
Modified:
trunk/src/lasindex.cpp
Modified: trunk/src/lasindex.cpp
==============================================================================
--- trunk/src/lasindex.cpp (original)
+++ trunk/src/lasindex.cpp Wed May 20 14:15:00 2009
@@ -316,7 +316,7 @@
max[1] = p.GetY();
max[2] = p.GetZ();
- if (m_Initialized = false)
+ if (m_Initialized == false)
throw std::runtime_error("Spatial index has not been initialized");
try {
@@ -341,7 +341,7 @@
max[1] = maxy;
max[2] = maxz;
- if (m_Initialized = false)
+ if (m_Initialized == false)
throw std::runtime_error("Spatial index has not been initialized");
// std::cout.setf(std::ios_base::fixed);
@@ -469,7 +469,6 @@
LASIndexDataStream::LASIndexDataStream(LASReader *reader) : m_reader(reader), m_pNext(0), m_id(0)
{
- m_id = 0;
readPoint();
}
More information about the Liblas-commits
mailing list