From 56a2df097e5e4979884395f341d4e1c8bfcf7ba8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Jul 2017 00:14:04 +0300 Subject: Add missing std::move in being.cpp --- src/being/being.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 26ed555c2..010fb3182 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -118,6 +118,7 @@ #include "utils/foreach.h" #include "utils/gettext.h" #include "utils/likely.h" +#include "utils/stdmove.h" #include "utils/timer.h" #include "debug.h" @@ -2902,7 +2903,7 @@ void Being::setSpriteColorId(const unsigned int slot, BeingSlot &beingSlot = mSlots[slot]; beingSlot.spriteId = id; - beingSlot.color = color; + beingSlot.color = STD_MOVE(color); beingSlot.colorId = colorId; beingSlot.cardsId = CardsList(nullptr); recalcSpritesOrder(); @@ -2990,7 +2991,7 @@ void Being::setSpriteCards(const unsigned int slot, BeingSlot &beingSlot = mSlots[slot]; beingSlot.spriteId = id; - beingSlot.color = color; + beingSlot.color = STD_MOVE(color); beingSlot.colorId = colorId; beingSlot.cardsId = CardsList(cards); recalcSpritesOrder(); -- cgit v1.2.3-60-g2f50