summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-11 21:34:31 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-13 08:33:46 +0000
commite4df5736f753078944f96548b4922c75f70a6afd (patch)
tree23be2d0282788b77d920b55bebee4a01b27de5f7 /slideshow
parent412cfb531bd137c3d01f21e24b12827ddb9b8b7b (diff)
slideshow: tweak BaseContainerNode::forEachChildNode
Mac OS X clang/libc++ refuse to invoke a "const" std::mem_fn object. And you thought that MSVC was the only one with a deficient stdlib. Change-Id: Ib7a659adbd270a20b9fdcd661df1bd78d40768ca Reviewed-on: https://gerrit.libreoffice.org/24901 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animationnodes/basecontainernode.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.hxx b/slideshow/source/engine/animationnodes/basecontainernode.hxx
index 06e67a1a39eb..cc65be6fdb85 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.hxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.hxx
@@ -69,7 +69,7 @@ protected:
void repeat();
template <typename FuncT>
- inline void forEachChildNode( FuncT const& func,
+ inline void forEachChildNode( FuncT func,
int nodeStateMask = -1 ) const
{
VectorOfNodes::const_iterator iPos( maChildren.begin() );