Added a const function specifier for operator() in a functor