aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEScale.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2021-05-13 12:54:31 +0100
committerSheri Zhang <sheri.zhang@arm.com>2021-05-13 17:15:03 +0000
commit13c497a8a9a4aa9353719afe53ccc7db50da74fe (patch)
treeba5d7fff737c32641f0a813ba3bcc16058006aa9 /arm_compute/runtime/NEON/functions/NEScale.h
parent7f8caf770417574a874d53733718f1b7052456fe (diff)
downloadComputeLibrary-13c497a8a9a4aa9353719afe53ccc7db50da74fe.tar.gz
Fix Macros.h include in NEScale
Remove Macros.h from arm_compute and avoid use of headers from src inside files in the public interface. Resolves: COMPMID-4525 Change-Id: I58b1b46896d366078cc9df7a0e36d5878064051d Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5641 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEScale.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEScale.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEScale.h b/arm_compute/runtime/NEON/functions/NEScale.h
index 233ee2969e..0b7dddacb2 100644
--- a/arm_compute/runtime/NEON/functions/NEScale.h
+++ b/arm_compute/runtime/NEON/functions/NEScale.h
@@ -28,7 +28,6 @@
#include "arm_compute/core/KernelDescriptors.h"
#include "arm_compute/core/Types.h"
-#include "src/core/common/Macros.h"
#include <memory>
@@ -41,11 +40,18 @@ class ITensorInfo;
class NEScale : public IFunction
{
public:
- /** Default Constructor */
+ /** Constructor */
NEScale();
- /** Default Destructor */
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ NEScale(const NEScale &) = delete;
+ /** Prevent instances of this class from being moved (As this class contains non movable objects) */
+ NEScale(NEScale &&) = delete;
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ NEScale &operator=(const NEScale &) = delete;
+ /** Prevent instances of this class from being moved (As this class contains non movable objects) */
+ NEScale &operator=(NEScale &&) = delete;
+ /** Destructor */
~NEScale();
- ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(NEScale);
/** Initialize the function's source, destination, interpolation type and border_mode.
*
* Valid data layouts: