[Liblas-commits] hg: Removed superfluous copy of HeaderPtr. Tidy up warnings

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Jul 27 11:00:04 EDT 2010


changeset c7c784b915ca in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=c7c784b915ca
summary: Removed superfluous copy of HeaderPtr. Tidy up warnings

diffstat:

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

diffs (29 lines):

diff -r b039dfdada40 -r c7c784b915ca src/detail/reader/header.cpp
--- a/src/detail/reader/header.cpp	Mon Jul 26 21:37:43 2010 -0500
+++ b/src/detail/reader/header.cpp	Tue Jul 27 16:03:29 2010 +0100
@@ -48,13 +48,12 @@
 namespace liblas { namespace detail { namespace reader {
 
 Header::Header(std::istream& ifs) :
-    m_ifs(ifs), m_header(HeaderPtr(new liblas::Header()))
+    m_ifs(ifs), m_header(new liblas::Header())
 {
 }
 
 Header::~Header()
 {
-
 }
 
 
diff -r b039dfdada40 -r c7c784b915ca src/lasbounds.cpp
--- a/src/lasbounds.cpp	Mon Jul 26 21:37:43 2010 -0500
+++ b/src/lasbounds.cpp	Tue Jul 27 16:03:29 2010 +0100
@@ -174,6 +174,7 @@
 
 bool Bounds::intersects3d(Bounds const& other) const
 {
+    detail::ignore_unused_variable_warning(other);
     // not implemented
     throw    std::runtime_error("not implemented");
 


More information about the Liblas-commits mailing list