From e4df5736f753078944f96548b4922c75f70a6afd Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 11 May 2016 21:34:31 +0200 Subject: 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 Reviewed-by: Michael Stahl --- slideshow/source/engine/animationnodes/basecontainernode.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slideshow') 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 - inline void forEachChildNode( FuncT const& func, + inline void forEachChildNode( FuncT func, int nodeStateMask = -1 ) const { VectorOfNodes::const_iterator iPos( maChildren.begin() ); -- cgit