Quantization copy constructor

* Fix compiler implicit copy deprecation warning.
* Simplify copy operator by removing unnecessary equality comparison.
    Now just does pointer comparison instead.

Change-Id: I9ebe170c637c636919b9d8729a78449148b7f83e
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
diff --git a/include/armnn/Tensor.hpp b/include/armnn/Tensor.hpp
index 8814d89..9589874 100644
--- a/include/armnn/Tensor.hpp
+++ b/include/armnn/Tensor.hpp
@@ -229,6 +229,11 @@
             , m_Offset(EmptyOptional())
             , m_QuantizationDim(EmptyOptional()) {}
 
+        Quantization(const Quantization& other)
+            : m_Scales(other.m_Scales)
+            , m_Offset(other.m_Offset)
+            , m_QuantizationDim(other.m_QuantizationDim) {}
+
         bool operator==(const Quantization& other) const
         {
             return ((m_Scales == other.m_Scales) && (m_Offset == other.m_Offset) &&
@@ -237,7 +242,7 @@
 
         Quantization& operator=(const Quantization& other)
         {
-            if(!(*this == other))
+            if(this != &other)
             {
                 m_Scales = other.m_Scales;
                 m_Offset = other.m_Offset;