* 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>
Graph& operator=(const Graph& other) = delete;
+ Graph(Graph&&) = default;
+ Graph& operator=(Graph&&) = default;
+
~Graph()
{
for (auto&& layer : m_Layers)
{
public:
OptimizationViews() = default;
+ OptimizationViews(const OptimizationViews&) = delete;
+ OptimizationViews& operator=(const OptimizationViews&) = delete;
+ OptimizationViews(OptimizationViews&&) = default;
+ OptimizationViews& operator=(OptimizationViews&&) = default;
struct SubstitutionPair
{
Graph m_Graph;
};
-} //namespace armnn
\ No newline at end of file
+} //namespace armnn