aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-29 12:15:40 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-09-14 17:39:11 (GMT)
commit0e1ee49603a565427fa833a4136c586a0e816c47 (patch)
treec050312dc06bfdb017d02b6a32f0041176cb3120
parent755787c437a5b19851744ef40c4df2efdf2d5e05 (diff)
downloadfluxbox_pavel-0e1ee49603a565427fa833a4136c586a0e816c47.zip
fluxbox_pavel-0e1ee49603a565427fa833a4136c586a0e816c47.tar.bz2
Fix compilation with intel's compilerfixes
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.
-rw-r--r--src/fluxbox.cc4
1 files changed, 0 insertions, 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<Type, ResultType> {
210 m_arg(arg), 210 m_arg(arg),
211 m_func(func) { } 211 m_func(func) { }
212 212
213 ResultType operator()(Type p) const {
214 (p.*m_func)(m_arg);
215 }
216
217 ResultType operator()(Type* p) const { 213 ResultType operator()(Type* p) const {
218 (*p.*m_func)(m_arg); 214 (*p.*m_func)(m_arg);
219 } 215 }