summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/opengl/TransitionImpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/opengl/TransitionImpl.hxx')
-rw-r--r--slideshow/source/engine/opengl/TransitionImpl.hxx27
1 files changed, 19 insertions, 8 deletions
diff --git a/slideshow/source/engine/opengl/TransitionImpl.hxx b/slideshow/source/engine/opengl/TransitionImpl.hxx
index 9a869203cb56..9ca35c1e8f6d 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.hxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.hxx
@@ -71,18 +71,14 @@ typedef std::vector<std::shared_ptr<Operation> > Operations_t;
class TransitionScene
{
public:
- TransitionScene(
+ inline TransitionScene(
Primitives_t&& rLeavingSlidePrimitives,
Primitives_t&& rEnteringSlidePrimitives,
Operations_t&& rOverallOperations = Operations_t(),
SceneObjects_t&& rSceneObjects = SceneObjects_t()
- )
- : maLeavingSlidePrimitives(std::move(rLeavingSlidePrimitives))
- , maEnteringSlidePrimitives(std::move(rEnteringSlidePrimitives))
- , maOverallOperations(std::move(rOverallOperations))
- , maSceneObjects(std::move(rSceneObjects))
- {
- }
+ );
+
+ inline ~TransitionScene();
TransitionScene(TransitionScene const& rOther);
TransitionScene& operator=(const TransitionScene& rOther);
@@ -377,6 +373,21 @@ private:
std::vector<Vertex> Vertices;
};
+TransitionScene::TransitionScene(
+ Primitives_t&& rLeavingSlidePrimitives,
+ Primitives_t&& rEnteringSlidePrimitives,
+ Operations_t&& rOverallOperations,
+ SceneObjects_t&& rSceneObjects
+)
+ : maLeavingSlidePrimitives(std::move(rLeavingSlidePrimitives))
+ , maEnteringSlidePrimitives(std::move(rEnteringSlidePrimitives))
+ , maOverallOperations(std::move(rOverallOperations))
+ , maSceneObjects(std::move(rSceneObjects))
+{
+}
+
+TransitionScene::~TransitionScene() = default;
+
#endif // INCLUDED_SLIDESHOW_TRANSITION_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */