Ticket #4377: functional-suppress_unused_warning-2.patch

File functional-suppress_unused_warning-2.patch, 671 bytes (added by Marco Guazzone <marco.guazzone@…>, 12 years ago)

Patch to comment parameter size2 at line 1868 of functional.hpp.

  • boost/numeric/ublas/functional.hpp

    diff -Naur old/boost/numeric/ublas/functional.hpp new/boost/numeric/ublas/functional.hpp
    old new  
    18651865        // return nearest valid index in column j
    18661866        static
    18671867        BOOST_UBLAS_INLINE
    1868         size_type restrict1 (size_type i, size_type j, size_type size1, size_type size2) {
     1868        size_type restrict1 (size_type i, size_type j, size_type size1, size_type /* size2 */) {
    18691869            return (std::max)(j, (std::min) (size1, i));
    18701870        }
    18711871        // return nearest valid index in row i