From 56831b95b041a00a131d04f7880b20f705923343 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 29 Aug 2011 14:15:40 +0200 Subject: 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. --- src/fluxbox.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 16992b7..e564d42 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -211,10 +211,6 @@ struct CallMemFunWithRefArg : std::unary_function { 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); } -- cgit v0.11.2