mark InternedString move constructor noexcept
This commit is contained in:
parent
fa886ffaac
commit
00aede6e57
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user