[Libreoffice-commits] core.git: slideshow/source

Michael Stahl mstahl at redhat.com
Fri May 13 08:34:17 UTC 2016


 slideshow/source/engine/animationnodes/basecontainernode.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4df5736f753078944f96548b4922c75f70a6afd
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed May 11 21:34:31 2016 +0200

    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 at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/slideshow/source/engine/animationnodes/basecontainernode.hxx b/slideshow/source/engine/animationnodes/basecontainernode.hxx
index 06e67a1..cc65be6 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() );


More information about the Libreoffice-commits mailing list