mark InternedString move constructor noexcept

This commit is contained in:
Maxime Coste 2014-10-28 19:44:00 +00:00
parent fa886ffaac
commit 00aede6e57

View File

@ -37,7 +37,7 @@ public:
StringRegistry::instance().acquire(m_slot); StringRegistry::instance().acquire(m_slot);
} }
InternedString(InternedString&& str) : StringView(str) InternedString(InternedString&& str) noexcept : StringView(str)
{ {
m_slot = str.m_slot; m_slot = str.m_slot;
str.m_slot = -1; str.m_slot = -1;