diff options
Diffstat (limited to 'slideshow/source/engine/eventqueue.cxx')
-rw-r--r-- | slideshow/source/engine/eventqueue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/eventqueue.cxx b/slideshow/source/engine/eventqueue.cxx index d5596cdb7036..e2b909e40185 100644 --- a/slideshow/source/engine/eventqueue.cxx +++ b/slideshow/source/engine/eventqueue.cxx @@ -180,7 +180,7 @@ namespace slideshow && !bFireAllEvents && (maEvents.empty() || maEvents.top().nTime > nCurrTime)) { - const EventEntry aEvent (maNextNextEvents.top()); + const EventEntry aEvent (std::move(maNextNextEvents.top())); maNextNextEvents.pop(); maEvents.push(aEvent); } @@ -192,7 +192,7 @@ namespace slideshow while( !maEvents.empty() && (bFireAllEvents || maEvents.top().nTime <= nCurrTime) ) { - EventEntry event( maEvents.top() ); + EventEntry event( std::move(maEvents.top()) ); maEvents.pop(); // only process event, if it is still 'charged', |