diff options
-rw-r--r-- | include/Uri/Uri.hpp | 6 | ||||
-rw-r--r-- | src/CharacterSet.cpp | 6 | ||||
-rw-r--r-- | src/CharacterSet.hpp | 6 | ||||
-rw-r--r-- | src/PercentEncodedCharacterDecoder.cpp | 6 | ||||
-rw-r--r-- | src/PercentEncodedCharacterDecoder.hpp | 6 | ||||
-rw-r--r-- | src/Uri.cpp | 6 |
6 files changed, 18 insertions, 18 deletions
diff --git a/include/Uri/Uri.hpp b/include/Uri/Uri.hpp index 41a70f5..82b426f 100644 --- a/include/Uri/Uri.hpp +++ b/include/Uri/Uri.hpp @@ -23,11 +23,11 @@ namespace Uri { class Uri { // Lifecycle management public: - ~Uri(); + ~Uri() noexcept; Uri(const Uri& other); - Uri(Uri&&); + Uri(Uri&&) noexcept; Uri& operator=(const Uri& other); - Uri& operator=(Uri&&); + Uri& operator=(Uri&&) noexcept; // Public methods public: diff --git a/src/CharacterSet.cpp b/src/CharacterSet.cpp index 9ed3719..5287806 100644 --- a/src/CharacterSet.cpp +++ b/src/CharacterSet.cpp @@ -23,19 +23,19 @@ namespace Uri { std::set< char > charactersInSet; }; - CharacterSet::~CharacterSet() = default; + CharacterSet::~CharacterSet() noexcept = default; CharacterSet::CharacterSet(const CharacterSet& other) : impl_(new Impl(*other.impl_)) { } - CharacterSet::CharacterSet(CharacterSet&& other) = default; + CharacterSet::CharacterSet(CharacterSet&& other) noexcept = default; CharacterSet& CharacterSet::operator=(const CharacterSet& other) { if (this != &other) { *impl_ = *other.impl_; } return *this; } - CharacterSet& CharacterSet::operator=(CharacterSet&& other) = default; + CharacterSet& CharacterSet::operator=(CharacterSet&& other) noexcept = default; CharacterSet::CharacterSet() : impl_(new Impl) diff --git a/src/CharacterSet.hpp b/src/CharacterSet.hpp index 657c89d..ba271f6 100644 --- a/src/CharacterSet.hpp +++ b/src/CharacterSet.hpp @@ -21,11 +21,11 @@ namespace Uri { class CharacterSet { // Lifecycle management public: - ~CharacterSet(); + ~CharacterSet() noexcept; CharacterSet(const CharacterSet&); - CharacterSet(CharacterSet&&); + CharacterSet(CharacterSet&&) noexcept; CharacterSet& operator=(const CharacterSet&); - CharacterSet& operator=(CharacterSet&&); + CharacterSet& operator=(CharacterSet&&) noexcept; // Methods public: diff --git a/src/PercentEncodedCharacterDecoder.cpp b/src/PercentEncodedCharacterDecoder.cpp index 4fb92c0..442befe 100644 --- a/src/PercentEncodedCharacterDecoder.cpp +++ b/src/PercentEncodedCharacterDecoder.cpp @@ -75,9 +75,9 @@ namespace Uri { } }; - PercentEncodedCharacterDecoder::~PercentEncodedCharacterDecoder() = default; - PercentEncodedCharacterDecoder::PercentEncodedCharacterDecoder(PercentEncodedCharacterDecoder&&) = default; - PercentEncodedCharacterDecoder& PercentEncodedCharacterDecoder::operator=(PercentEncodedCharacterDecoder&&) = default; + PercentEncodedCharacterDecoder::~PercentEncodedCharacterDecoder() noexcept = default; + PercentEncodedCharacterDecoder::PercentEncodedCharacterDecoder(PercentEncodedCharacterDecoder&&) noexcept = default; + PercentEncodedCharacterDecoder& PercentEncodedCharacterDecoder::operator=(PercentEncodedCharacterDecoder&&) noexcept = default; PercentEncodedCharacterDecoder::PercentEncodedCharacterDecoder() : impl_(new Impl) diff --git a/src/PercentEncodedCharacterDecoder.hpp b/src/PercentEncodedCharacterDecoder.hpp index b3e207d..e4fddcb 100644 --- a/src/PercentEncodedCharacterDecoder.hpp +++ b/src/PercentEncodedCharacterDecoder.hpp @@ -21,11 +21,11 @@ namespace Uri { class PercentEncodedCharacterDecoder { // Lifecycle management public: - ~PercentEncodedCharacterDecoder(); + ~PercentEncodedCharacterDecoder() noexcept; PercentEncodedCharacterDecoder(const PercentEncodedCharacterDecoder&) = delete; - PercentEncodedCharacterDecoder(PercentEncodedCharacterDecoder&&); + PercentEncodedCharacterDecoder(PercentEncodedCharacterDecoder&&) noexcept; PercentEncodedCharacterDecoder& operator=(const PercentEncodedCharacterDecoder&) = delete; - PercentEncodedCharacterDecoder& operator=(PercentEncodedCharacterDecoder&&); + PercentEncodedCharacterDecoder& operator=(PercentEncodedCharacterDecoder&&) noexcept; // Methods public: diff --git a/src/Uri.cpp b/src/Uri.cpp index 4d08e38..7ad1d68 100644 --- a/src/Uri.cpp +++ b/src/Uri.cpp @@ -1216,20 +1216,20 @@ namespace Uri { } }; - Uri::~Uri() = default; + Uri::~Uri() noexcept = default; Uri::Uri(const Uri& other) : impl_(new Impl) { *this = other; } - Uri::Uri(Uri&&) = default; - Uri& Uri::operator=(Uri&&) = default; + Uri::Uri(Uri&&) noexcept = default; Uri& Uri::operator=(const Uri& other) { if (this != &other) { *impl_ = *other.impl_; } return *this; } + Uri& Uri::operator=(Uri&&) noexcept = default; Uri::Uri() : impl_(new Impl) |