aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/BackendId.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/BackendId.hpp')
-rw-r--r--include/armnn/BackendId.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/armnn/BackendId.hpp b/include/armnn/BackendId.hpp
index 00ece377d4..d7b54979b6 100644
--- a/include/armnn/BackendId.hpp
+++ b/include/armnn/BackendId.hpp
@@ -79,12 +79,18 @@ public:
BackendId(const std::string& id) : m_Id{id} {}
BackendId(const char* id) : m_Id{id} {}
+
+ BackendId(const BackendId& other) = default;
+ BackendId(BackendId&& other) = default;
+ BackendId& operator=(const BackendId& other) = default;
+ BackendId& operator=(BackendId&& other) = default;
+ ~BackendId(){}
+
/// Deprecated function that will be removed together with
/// the Compute enum
BackendId(Compute compute) : m_Id{GetComputeDeviceAsCString(compute)} {}
operator std::string() const { return m_Id; }
-
BackendId& operator=(const std::string& other)
{
m_Id = other;