diff --git a/src/lib/path-array.hpp b/src/lib/path-array.hpp index 6759e1455..37ac6a866 100644 --- a/src/lib/path-array.hpp +++ b/src/lib/path-array.hpp @@ -115,7 +115,7 @@ namespace lib { delete[] storage_; } - Extension() + Extension() noexcept : storage_{nullptr} { } @@ -132,7 +132,7 @@ namespace lib { : storage_{r.storage_? r.newCopy() : nullptr} { } - Extension (Extension&& rr) + Extension (Extension&& rr) noexcept : storage_{nullptr} { if (rr.storage_) @@ -153,7 +153,7 @@ namespace lib { return *this; } - Extension& operator= (Extension&& rr) + Extension& operator= (Extension&& rr) noexcept { if (this != &rr) { diff --git a/src/lib/symbol.hpp b/src/lib/symbol.hpp index f796f50b7..f021d3d37 100644 --- a/src/lib/symbol.hpp +++ b/src/lib/symbol.hpp @@ -77,13 +77,14 @@ namespace lib { const char * str_; public: - Literal(); ///< empty string by default + /** empty string by default */ + Literal() noexcept; - Literal (const char* literal) + Literal (const char* literal) noexcept : str_(literal) { } - Literal (Literal const& o) + Literal (Literal const& o) noexcept : str_(o.str_) { } @@ -100,7 +101,7 @@ namespace lib { protected: /** Assignment generally prohibited */ - Literal& operator= (const char* newStr) + Literal& operator= (const char* newStr) noexcept { str_ = newStr; return *this; @@ -163,7 +164,7 @@ namespace lib { extern const size_t STRING_MAX_RELEVANT; /** @note storage guaranteed to exist */ - inline Literal::Literal() : str_(Symbol::EMPTY) { } + inline Literal::Literal() noexcept : str_(Symbol::EMPTY) { } /* ===== to be picked up by ADL ===== */ diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 151538bd0..55d4e9ee7 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -4579,7 +4579,7 @@ - + @@ -7692,7 +7692,7 @@ - + @@ -8311,9 +8311,9 @@ - + - + @@ -8612,9 +8612,9 @@ - - - + + + @@ -8633,7 +8633,7 @@ - + @@ -8648,7 +8648,7 @@ - + @@ -8664,9 +8664,9 @@ - - - + + + @@ -8684,7 +8684,18 @@ - + + + + + + + + + + + + @@ -8718,7 +8729,8 @@ - + +