From 1a84df02f8b78eba5ea1821f40bc5fb34ee06142 Mon Sep 17 00:00:00 2001 From: Pavlo Ilin Date: Thu, 14 Dec 2017 20:09:20 +0100 Subject: [PATCH] !T (HNT-22559) Fix missing std::move in AgePriorityQueue Copied from Perforce Change: 1610532 --- Code/CryEngine/CryCommon/CryPhysics/AgePriorityQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/CryEngine/CryCommon/CryPhysics/AgePriorityQueue.h b/Code/CryEngine/CryCommon/CryPhysics/AgePriorityQueue.h index 23ec12b79..c99e3e72b 100644 --- a/Code/CryEngine/CryCommon/CryPhysics/AgePriorityQueue.h +++ b/Code/CryEngine/CryCommon/CryPhysics/AgePriorityQueue.h @@ -76,7 +76,7 @@ private: if (!other.isFree) { other.isFree = true; - valueStorage.MoveConstruct(other.get_value()); + valueStorage.MoveConstruct(std::move(other.get_value())); } } -- 2.11.4.GIT