[Liblas-commits] hg: try to shut up MSVC about complaining about an unused parame...

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Jun 23 16:08:25 EDT 2011


details:   http://hg.liblas.orghg/rev/586d02582ce5
changeset: 3009:586d02582ce5
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Jun 23 15:08:18 2011 -0500
description:
try to shut up MSVC about complaining about an unused parameter in a templated type

diffstat:

 include/liblas/detail/opt_allocator.hpp |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r fb769503d56b -r 586d02582ce5 include/liblas/detail/opt_allocator.hpp
--- a/include/liblas/detail/opt_allocator.hpp	Thu Jun 23 15:01:51 2011 -0500
+++ b/include/liblas/detail/opt_allocator.hpp	Thu Jun 23 15:08:18 2011 -0500
@@ -174,6 +174,7 @@
     void destroy(pointer p)
     {
         p->~T();
+        boost::ignore_unused_variable_warning(p);
     }
 
     template <typename U>


More information about the Liblas-commits mailing list