diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-10-28 20:01:27 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-10-28 20:01:27 +0000 |
| commit | d3091cb553283ad854ae61b5faf362a006bf3f6d (patch) | |
| tree | eb1c8bd10c8d18acf05a8bc414a69571f1aa02be /src/interned_string.cc | |
| parent | 00aede6e577f024b50524c7c9cce87ae2a4f325b (diff) | |
Add noexcept spec to move constructor and move assign
Diffstat (limited to 'src/interned_string.cc')
| -rw-r--r-- | src/interned_string.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interned_string.cc b/src/interned_string.cc index b949233f..1a7b5627 100644 --- a/src/interned_string.cc +++ b/src/interned_string.cc @@ -40,7 +40,7 @@ void StringRegistry::acquire(size_t slot) ++m_storage[slot].second; } -void StringRegistry::release(size_t slot) +void StringRegistry::release(size_t slot) noexcept { if (--m_storage[slot].second == 0) { |
