From 9717ade148008dfd75cea54ec14ce84b92c1941b Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Wed, 25 May 2005 12:42:11 +0000 Subject: [PATCH] unused variables [SVN r29183] --- include/boost/numeric/ublas/vector.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/numeric/ublas/vector.hpp b/include/boost/numeric/ublas/vector.hpp index 58d9ad70..24b7a831 100644 --- a/include/boost/numeric/ublas/vector.hpp +++ b/include/boost/numeric/ublas/vector.hpp @@ -969,24 +969,24 @@ namespace boost { namespace numeric { namespace ublas { // Resizing BOOST_UBLAS_INLINE - void resize (size_type size, bool preserve = true) { + void resize (size_type size, bool /*preserve*/ = true) { size_ = size; } // Element support BOOST_UBLAS_INLINE - const_pointer find_element (size_type i) const { + const_pointer find_element (size_type /*i*/) const { return & value_; } // Element access BOOST_UBLAS_INLINE - const_reference operator () (size_type i) const { + const_reference operator () (size_type /*i*/) const { return value_; } BOOST_UBLAS_INLINE - const_reference operator [] (size_type i) const { + const_reference operator [] (size_type /*i*/) const { return value_; }