diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/armnn/Optional.hpp | 1 |
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} {} |