fix(util/optional): typo

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-27 16:57:29 -08:00
parent a2aa90ae66
commit 55f86f79a8

View file

@ -78,7 +78,7 @@ public:
if (m_some) if (m_some)
m_value.~T(); m_value.~T();
m_some = true; m_some = true;
new (&m_value) T(other.m_value); new (&m_value) T(other);
return *this; return *this;
} }
optional& operator=(T && other) { optional& operator=(T && other) {