[Liblas-commits] laszip: c/p error in stream creation

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Dec 17 10:49:25 EST 2010


changeset 41573d80a706 in /Volumes/Data/www/liblas.org/laszip
details: http://hg.liblas.orglaszip?cmd=changeset;node=41573d80a706
summary: c/p error in stream creation

diffstat:

 tools/laszippertest.cpp |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 0c2698631af8 -r 41573d80a706 tools/laszippertest.cpp
--- a/tools/laszippertest.cpp	Thu Dec 16 21:00:21 2010 -0800
+++ b/tools/laszippertest.cpp	Fri Dec 17 07:49:21 2010 -0800
@@ -155,7 +155,7 @@
     ostream1 = new ostream(&ofb1);
 #else
     ostream1 = new ofstream();
-    ostream1->open("test1.lax", std::ios::in | std::ios::binary );
+    ostream1->open("test1.lax", std::ios::out | std::ios::binary );
 #endif
 
 
@@ -172,7 +172,7 @@
     ostream2 = new ostream(&ofb2);
 #else
     ostream2 = new ofstream();
-    ostream2->open("test2.lax", std::ios::in | std::ios::binary );
+    ostream2->open("test2.lax", std::ios::out | std::ios::binary );
 #endif
 
     if (!laszipper2->open(ostream2, num_items, items, LASZIP_COMPRESSION_ARITHMETIC))
@@ -187,7 +187,7 @@
     ostream3 = new ostream(&ofb3);
 #else
     ostream3 = new ofstream();
-    ostream3->open("test3.lax", std::ios::in | std::ios::binary );
+    ostream3->open("test3.lax", std::ios::out | std::ios::binary );
 #endif
 
 


More information about the Liblas-commits mailing list