commit a50176e11961fa4bf627a97ed64d2ff0a58016be parent c58d63bba37ba14a2cb7e6ccb7fd59cc3f97e9bb Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jun 25 14:33:17 +0300 -Wshadow again Diffstat:
array.h | | | 8 | ++++---- |
diff --git a/array.h b/array.h @@ -144,12 +144,12 @@ public: return elems; } - array< T > row( size_t row ) { - return array< T >( elems + row * w, w ); + array< T > row( size_t r ) { + return array< T >( elems + r * w, w ); } - const array< T > row( size_t row ) const { - return array< T >( elems + row * w, w ); + const array< T > row( size_t r ) const { + return array< T >( elems + r * w, w ); } size_t num_bytes() const {