From 879d1313ba69d9ced8424f54ffeea6a3c60496f0 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 30 Sep 2019 13:25:53 +0100 Subject: COMPMID-2452: Fix compilation issues on armclang Change-Id: I41bd60760270a2c7d83e391fd9430b4513ab00bc Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/2002 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/graph/Graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graph') diff --git a/src/graph/Graph.cpp b/src/graph/Graph.cpp index 9d437b1834..edc8d6b33d 100644 --- a/src/graph/Graph.cpp +++ b/src/graph/Graph.cpp @@ -68,7 +68,7 @@ bool Graph::remove_node(NodeID nid) EdgeID Graph::add_connection(NodeID source, size_t source_idx, NodeID sink, size_t sink_idx) { - std::lock_guard lock(_mtx); + arm_compute::lock_guard lock(_mtx); // Check if node index is valid, if node exists and finally if the connection index is valid ARM_COMPUTE_ERROR_ON((source >= _nodes.size()) || (_nodes[source] == nullptr) || (source_idx >= _nodes[source]->num_outputs())); -- cgit v1.2.1