From 77ba3df6ad7fe25b508040ceca3fa3cf2b3df45b Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 9 May 2019 15:26:51 +0100 Subject: IVGCVSW-3030 Make the OptimizationViews class move-assignable * Added move-constructors and move-assigment operators to both the OptimizationViews and Graph classes Change-Id: I3f923dc58e849479ff6589dcd39dece2790172cb Signed-off-by: Matteo Martincigh --- src/armnn/Graph.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/armnn/Graph.hpp') diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp index 062d727fd1..5c71ccef2b 100644 --- a/src/armnn/Graph.hpp +++ b/src/armnn/Graph.hpp @@ -87,6 +87,9 @@ public: Graph& operator=(const Graph& other) = delete; + Graph(Graph&&) = default; + Graph& operator=(Graph&&) = default; + ~Graph() { for (auto&& layer : m_Layers) -- cgit v1.2.1