From ca4111d6eef00d244145e9b32e87fc101034527d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 21 Feb 2020 13:21:37 +0000 Subject: COMPMID-2819: Delete move semantics from classes that use std::mutex Signed-off-by: Georgios Pinitas Change-Id: I6ea0ab7af7d2b9cb2dcb23627eb909cf7e88a5b0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2775 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio --- arm_compute/graph/Graph.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arm_compute/graph/Graph.h') diff --git a/arm_compute/graph/Graph.h b/arm_compute/graph/Graph.h index c0c812988d..dce92c67f1 100644 --- a/arm_compute/graph/Graph.h +++ b/arm_compute/graph/Graph.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -64,10 +64,10 @@ public: Graph(const Graph &) = delete; /** Prevent instances of this class from being copy assigned (As this class contains pointers) */ Graph &operator=(const Graph &) = delete; - /** Allow instances of this class to be moved */ - Graph(Graph &&) = default; - /** Allow instances of this class to be move assigned */ - Graph &operator=(Graph &&) = default; + /** Prevent instances of this class from being moved (As this class contains non movable objects) */ + Graph(Graph &&) = delete; + /** Prevent instances of this class from being moved (As this class contains non movable objects) */ + Graph &operator=(Graph &&) = delete; /** Adds a node to the graph * * @note Models a single output node -- cgit v1.2.1