From 7125643febf8bccf389e87f04f7d656093e29866 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 3 Dec 2015 21:51:59 -0300 Subject: [PATCH] Use const& instead of pointers --- src/app/ui/editor/moving_cel_state.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ui/editor/moving_cel_state.cpp b/src/app/ui/editor/moving_cel_state.cpp index 7a0238918..65cbf8edf 100644 --- a/src/app/ui/editor/moving_cel_state.cpp +++ b/src/app/ui/editor/moving_cel_state.cpp @@ -85,9 +85,9 @@ bool MovingCelState::onMouseUp(Editor* editor, MouseMessage* msg) // Put the cels in the original position. for (size_t i=0; isetPosition(*celStart); + cel->setPosition(celStart); } // If the user didn't cancel the operation...