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:
parent
755787c437
commit
0e1ee49603
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue