Changed code slightly to avoid a warning in gcc when -W -Wall is given.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403097
This commit is contained in:
Davis King 2009-06-24 23:59:29 +00:00
parent 7cde1077ec
commit 5ae0c51c98
1 changed files with 1 additions and 1 deletions

View File

@ -2192,7 +2192,7 @@ namespace dlib
typedef typename EXP::type type; typedef typename EXP::type type;
typedef typename EXP::mem_manager_type mem_manager_type; typedef typename EXP::mem_manager_type mem_manager_type;
template <typename M> template <typename M>
static type apply ( const M& m, long r, long c) static type apply ( const M& m, long r, long )
{ return m(r/m.nc(), r%m.nc()); } { return m(r/m.nc(), r%m.nc()); }
template <typename M> template <typename M>