aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CPP/CPPTypes.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-09-30 13:25:53 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-09-30 14:13:55 +0000
commit879d1313ba69d9ced8424f54ffeea6a3c60496f0 (patch)
tree6e6f4be4b9ec992a019aa4d079c844a9649ef8ed /arm_compute/core/CPP/CPPTypes.h
parentea80348ef330bd6415ec6dae45b99873710f812a (diff)
downloadComputeLibrary-879d1313ba69d9ced8424f54ffeea6a3c60496f0.tar.gz
COMPMID-2452: Fix compilation issues on armclang
Change-Id: I41bd60760270a2c7d83e391fd9430b4513ab00bc Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/2002 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/CPP/CPPTypes.h')
-rw-r--r--arm_compute/core/CPP/CPPTypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/core/CPP/CPPTypes.h b/arm_compute/core/CPP/CPPTypes.h
index 0ac8bf6e52..87fa442672 100644
--- a/arm_compute/core/CPP/CPPTypes.h
+++ b/arm_compute/core/CPP/CPPTypes.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -113,8 +113,8 @@ public:
*/
CPUInfo &operator=(const CPUInfo &cpuinfo) = delete;
CPUInfo(const CPUInfo &cpuinfo) = delete;
- CPUInfo &operator=(const CPUInfo &&cpuinfo) = delete;
- CPUInfo(const CPUInfo &&cpuinfo) = delete;
+ CPUInfo &operator=(CPUInfo &&cpuinfo) = default;
+ CPUInfo(CPUInfo &&cpuinfo) = default;
/** Checks if the cpu model supports fp16.
*