Make method const

This commit is contained in:
Chocobo1 2017-05-09 14:21:55 +08:00
parent b4baeaaf23
commit 446b3307f9
3 changed files with 3 additions and 3 deletions

View file

@ -180,7 +180,7 @@ namespace
{
}
T operator()(T val)
T operator()(T val) const
{
return val <= m_limit ? m_ret : val;
}