2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-19 02:42:16 +00:00

unused variables

[SVN r29183]
This commit is contained in:
Michael Stevens
2005-05-25 12:42:11 +00:00
parent 08898e4509
commit 9717ade148

View File

@@ -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_;
}