diff options
author | Matthew Bentham <Matthew.Bentham@arm.com> | 2020-02-10 17:23:39 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2020-02-11 15:22:06 +0000 |
commit | 13757bd8149d948ae79a778b404626a621f18573 (patch) | |
tree | 2e442e69a7b45bfc516739c00a7986cf55f3e324 | |
parent | 071877ec1cc0c5e287a86b88768a0d5e6e611e44 (diff) | |
download | armnn-13757bd8149d948ae79a778b404626a621f18573.tar.gz |
Silence clang-8 warnings wrt explicit defaulting of implicitly deleted operator
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I9ff918e7f9fe340e65f8dd1b1c47754c8b41de1f
-rw-r--r-- | include/armnn/Logging.hpp | 3 | ||||
-rw-r--r-- | src/armnn/Layer.hpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/armnn/Logging.hpp b/include/armnn/Logging.hpp index 45f3f80217..84152e543e 100644 --- a/include/armnn/Logging.hpp +++ b/include/armnn/Logging.hpp @@ -79,8 +79,9 @@ struct ScopedRecord ScopedRecord(const ScopedRecord&) = delete; ScopedRecord& operator=(const ScopedRecord&) = delete; + ScopedRecord& operator=(ScopedRecord&&) = delete; + ScopedRecord(ScopedRecord&& other) = default; - ScopedRecord& operator=(ScopedRecord&&) = default; template<typename Streamable> ScopedRecord& operator<<(const Streamable& s) diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp index e0a1ad66f2..c62b67ac0b 100644 --- a/src/armnn/Layer.hpp +++ b/src/armnn/Layer.hpp @@ -91,9 +91,9 @@ public: OutputSlot(const OutputSlot&) = delete; OutputSlot& operator=(const OutputSlot&) = delete; + OutputSlot& operator=(OutputSlot&&) = delete; OutputSlot(OutputSlot&&) = default; - OutputSlot& operator=(OutputSlot&&) = default; ~OutputSlot() { |