Fix compilation with intel's compiler

the deleted function was never used, otherwise it would generate an error with other compilers as
well. icc noticed that it was nonsensical even when it wasn't used and complained.
This commit is contained in:
Pavel Labath 2011-08-29 14:15:40 +02:00
parent 755787c437
commit 0e1ee49603

View file

@ -210,10 +210,6 @@ struct CallMemFunWithRefArg : std::unary_function<Type, ResultType> {
m_arg(arg),
m_func(func) { }
ResultType operator()(Type p) const {
(p.*m_func)(m_arg);
}
ResultType operator()(Type* p) const {
(*p.*m_func)(m_arg);
}