[Liblas-commits] libpc: major cut/paste error
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Feb 24 12:08:01 EST 2011
details: http://hg.liblas.orglibpc/rev/93a80c037628
changeset: 89:93a80c037628
user: Michael P. Gerlek <mpg at flaxen.com>
date: Thu Feb 24 09:07:46 2011 -0800
description:
major cut/paste error
diffstat:
src/Utils.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 780645897f62 -r 93a80c037628 src/Utils.cpp
--- a/src/Utils.cpp Wed Feb 23 21:17:51 2011 -0600
+++ b/src/Utils.cpp Thu Feb 24 09:07:46 2011 -0800
@@ -74,7 +74,7 @@
std::ios::openmode mode = std::ios::out;
if (asBinary)
- mode = mode |= std::ios::binary;
+ mode |= std::ios::binary;
namespace io = boost::iostreams;
io::stream<io::file_source>* ifs = new io::stream<io::file_source>();
@@ -88,7 +88,7 @@
{
std::ios::openmode mode = std::ios::in;
if (asBinary)
- mode = mode |= std::ios::binary;
+ mode |= std::ios::binary;
namespace io = boost::iostreams;
io::stream<io::file_sink>* ofs = new io::stream<io::file_sink>();
More information about the Liblas-commits
mailing list