aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-29 12:15:40 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-08-29 12:15:40 (GMT)
commit56831b95b041a00a131d04f7880b20f705923343 (patch)
tree60daeea2ac61d4a97875c386b9de65edf5285424 /src
parenteac6442b817d003b3f383e6b5b1cc4d6d4167f5e (diff)
downloadfluxbox_pavel-gsoc2011.zip
fluxbox_pavel-gsoc2011.tar.bz2
Fix compilation with intel's compilergsoc2011
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.
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc4
1 files changed, 0 insertions, 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<Type, ResultType> {
211 m_arg(arg), 211 m_arg(arg),
212 m_func(func) { } 212 m_func(func) { }
213 213
214 ResultType operator()(Type p) const {
215 (p.*m_func)(m_arg);
216 }
217
218 ResultType operator()(Type* p) const { 214 ResultType operator()(Type* p) const {
219 (*p.*m_func)(m_arg); 215 (*p.*m_func)(m_arg);
220 } 216 }