summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/KM_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KM_util.h b/src/KM_util.h
index 0d37370..344cfd1 100755
--- a/src/KM_util.h
+++ b/src/KM_util.h
@@ -177,8 +177,8 @@ namespace Kumu
Identifier() : m_HasValue(false) { memset(m_Value, 0, SIZE); }
Identifier(const byte_t* value) : m_HasValue(true) { memcpy(m_Value, value, SIZE); }
Identifier(const Identifier& rhs) {
- if ( m_HasValue = rhs.m_HasValue )
- memcpy(m_Value, rhs.m_Value, SIZE);
+ m_HasValue = rhs.m_HasValue;
+ memcpy(m_Value, rhs.m_Value, SIZE);
}
virtual ~Identifier() {}