summaryrefslogtreecommitdiff
path: root/src/interned_string.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-10-28 19:44:00 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-10-28 19:44:00 +0000
commit00aede6e577f024b50524c7c9cce87ae2a4f325b (patch)
treecda670b1124008dcdb39ca23d77cfb49cf7c7106 /src/interned_string.hh
parentfa886ffaac83ff4f4e646ffe361fee355ea0cb10 (diff)
mark InternedString move constructor noexcept
Diffstat (limited to 'src/interned_string.hh')
-rw-r--r--src/interned_string.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interned_string.hh b/src/interned_string.hh
index 5c87b3f4..23eeab92 100644
--- a/src/interned_string.hh
+++ b/src/interned_string.hh
@@ -37,7 +37,7 @@ public:
StringRegistry::instance().acquire(m_slot);
}
- InternedString(InternedString&& str) : StringView(str)
+ InternedString(InternedString&& str) noexcept : StringView(str)
{
m_slot = str.m_slot;
str.m_slot = -1;