Ticket #4377: functional-suppress_unused_warning-2.patch
File functional-suppress_unused_warning-2.patch, 671 bytes (added by , 12 years ago) |
---|
-
boost/numeric/ublas/functional.hpp
diff -Naur old/boost/numeric/ublas/functional.hpp new/boost/numeric/ublas/functional.hpp
old new 1865 1865 // return nearest valid index in column j 1866 1866 static 1867 1867 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 */) { 1869 1869 return (std::max)(j, (std::min) (size1, i)); 1870 1870 } 1871 1871 // return nearest valid index in row i