aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/Graph.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-21 13:21:37 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-26 11:08:16 +0000
commitca4111d6eef00d244145e9b32e87fc101034527d (patch)
treea1092c85661a37a12e5ecc63da8da506cd99e2e0 /arm_compute/graph/Graph.h
parent4370cffc7fb0da7fb486b9d06d24e16169521876 (diff)
downloadComputeLibrary-ca4111d6eef00d244145e9b32e87fc101034527d.tar.gz
COMPMID-2819: Delete move semantics from classes that use std::mutex
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I6ea0ab7af7d2b9cb2dcb23627eb909cf7e88a5b0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2775 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute/graph/Graph.h')
-rw-r--r--arm_compute/graph/Graph.h10
1 files changed, 5 insertions, 5 deletions
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