mirror of https://github.com/davisking/dlib.git
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:
parent
7cde1077ec
commit
5ae0c51c98
|
@ -2192,7 +2192,7 @@ namespace dlib
|
|||
typedef typename EXP::type type;
|
||||
typedef typename EXP::mem_manager_type mem_manager_type;
|
||||
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()); }
|
||||
|
||||
template <typename M>
|
||||
|
|
Loading…
Reference in New Issue