From 0e1ee49603a565427fa833a4136c586a0e816c47 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 0dc958d..69a2a23 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -210,10 +210,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