Add missing noexcept in move constructors

Because both copy and move operations are trivial, this doesn't
actually change anything, but it silences a static analysis warning.
This commit is contained in:
Martin Hořeňovský 2019-01-13 16:17:36 +01:00
parent 47602ac556
commit 64a0f466ec
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 4 additions and 4 deletions

View File

@ -53,9 +53,9 @@ namespace Catch {
{} {}
SourceLineInfo( SourceLineInfo const& other ) = default; SourceLineInfo( SourceLineInfo const& other ) = default;
SourceLineInfo( SourceLineInfo && ) = default;
SourceLineInfo& operator = ( SourceLineInfo const& ) = default; SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
SourceLineInfo& operator = ( SourceLineInfo && ) = default; SourceLineInfo( SourceLineInfo&& ) noexcept = default;
SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default;
bool empty() const noexcept; bool empty() const noexcept;
bool operator == ( SourceLineInfo const& other ) const noexcept; bool operator == ( SourceLineInfo const& other ) const noexcept;