aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Optional.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Optional.hpp')
-rw-r--r--include/armnn/Optional.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/armnn/Optional.hpp b/include/armnn/Optional.hpp
index 677152636a..1b61e20425 100644
--- a/include/armnn/Optional.hpp
+++ b/include/armnn/Optional.hpp
@@ -274,6 +274,7 @@ public:
Optional() noexcept : BaseSwitch{} {}
Optional(const T& value) : BaseSwitch{value} {}
+ Optional& operator=(const Optional& other) = default;
Optional(EmptyOptional empty) : BaseSwitch{empty} {}
Optional(const Optional& other) : BaseSwitch{other} {}
Optional(const BaseSwitch& other) : BaseSwitch{other} {}