[Liblas-commits] hg: use correct object for fetching error

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Jun 23 09:19:46 EDT 2011


details:   http://hg.liblas.orghg/rev/bcda4532b939
changeset: 2996:bcda4532b939
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Jun 23 08:19:41 2011 -0500
description:
use correct object for fetching error

diffstat:

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

diffs (12 lines):

diff -r 40a924f1ee9a -r bcda4532b939 src/detail/reader/zipreader.cpp
--- a/src/detail/reader/zipreader.cpp	Wed Jun 22 21:28:56 2011 -0500
+++ b/src/detail/reader/zipreader.cpp	Thu Jun 23 08:19:41 2011 -0500
@@ -221,7 +221,7 @@
     if (!ok)
     {
         std::ostringstream oss;
-        oss << "Error reading compressed point data: " << std::string(m_zip->get_error());
+        oss << "Error reading compressed point data: " << std::string(m_unzipper->get_error());
         throw liblas_error(oss.str());
     }
 


More information about the Liblas-commits mailing list