diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-08-03 17:20:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-08-03 17:20:26 +0200 |
commit | 38a4b5ea2ab7188ce61d18c655893482dd098772 (patch) | |
tree | bcd99d182901164ebdec9a57ba9a5deba435b729 /slideshow/source/engine/animationnodes/paralleltimecontainer.cxx | |
parent | 81f94ae79c7f5f3b49427dc7a8063a08baa797cf (diff) |
slideshow: try to fix libc++/MSVC build by replacing boost::bind
Change-Id: I6418119f9d3e70ea89f7c8a094bbde42eeadec8c
Diffstat (limited to 'slideshow/source/engine/animationnodes/paralleltimecontainer.cxx')
-rw-r--r-- | slideshow/source/engine/animationnodes/paralleltimecontainer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx b/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx index 07b68a231db9..20d16d711552 100644 --- a/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx +++ b/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx @@ -21,7 +21,7 @@ #include "paralleltimecontainer.hxx" #include "delayevent.hxx" -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> namespace slideshow { namespace internal { @@ -39,8 +39,9 @@ void ParallelTimeContainer::activate_st() if (isDurationIndefinite() && maChildren.empty()) { // deactivate ASAP: + auto self(getSelf()); scheduleDeactivationEvent( - makeEvent( boost::bind( &AnimationNode::deactivate, getSelf() ), + makeEvent( [self] () { self->deactivate(); }, "ParallelTimeContainer::deactivate") ); } else { // use default |