aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Graph.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-05-09 15:26:51 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-05-09 15:52:10 +0100
commit77ba3df6ad7fe25b508040ceca3fa3cf2b3df45b (patch)
tree42db744be5aecb30057b3367a77b15e55d39351b /src/armnn/Graph.hpp
parenta563b92475aba3ec70ceb0bf241d3e616ff1b98f (diff)
downloadarmnn-77ba3df6ad7fe25b508040ceca3fa3cf2b3df45b.tar.gz
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 <matteo.martincigh@arm.com>
Diffstat (limited to 'src/armnn/Graph.hpp')
-rw-r--r--src/armnn/Graph.hpp3
1 files changed, 3 insertions, 0 deletions
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)