[Liblas-commits] r1335 - trunk/src/index

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Aug 12 22:28:49 EDT 2009


Author: hobu
Date: Wed Aug 12 22:28:47 2009
New Revision: 1335
URL: http://liblas.org/changeset/1335

Log:
update for changes in libspatialindex

Modified:
   trunk/src/index/storage.cpp

Modified: trunk/src/index/storage.cpp
==============================================================================
--- trunk/src/index/storage.cpp	(original)
+++ trunk/src/index/storage.cpp	Wed Aug 12 22:28:47 2009
@@ -88,11 +88,11 @@
     try
     {
         v = m_vlrbuffer.at(id);
-        if (v == 0) throw Tools::InvalidPageException(id);
+        if (v == 0) throw SpatialIndex::InvalidPageException(id);
     }
     catch (std::out_of_range)
     {
-        throw Tools::InvalidPageException(id);
+        throw SpatialIndex::InvalidPageException(id);
     }
 
     len = v->GetRecordLength();
@@ -125,11 +125,11 @@
         try
         {
             v_old = m_vlrbuffer.at(id);
-            if (v_old == 0) throw Tools::InvalidPageException(id);
+            if (v_old == 0) throw SpatialIndex::InvalidPageException(id);
         }
         catch (std::out_of_range)
         {
-            throw Tools::InvalidPageException(id);
+            throw SpatialIndex::InvalidPageException(id);
         }
 
         LASVariableRecord* v = makeVLR(len,data);
@@ -145,11 +145,11 @@
     try
     {
         v = m_vlrbuffer.at(id);
-        if (v == 0) throw Tools::InvalidPageException(id);
+        if (v == 0) throw SpatialIndex::InvalidPageException(id);
     }
     catch (std::out_of_range)
     {
-        throw Tools::InvalidPageException(id);
+        throw SpatialIndex::InvalidPageException(id);
     }
 
     m_vlrbuffer[id] = 0;


More information about the Liblas-commits mailing list