diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-08-09 12:52:51 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-08-09 12:52:51 -0700 |
commit | 65669919341ab2940f00dc32ff622f00c6c2f6da (patch) | |
tree | 7376bfd85ef553d178eb3279ab06b5ed1caf2ad5 /src/CharacterSet.cpp | |
parent | 54881d9f90acfb1676b3eebb0feb17811d1cc4bf (diff) |
Refactoring: make application of rule of zero/five consistent
Diffstat (limited to 'src/CharacterSet.cpp')
-rw-r--r-- | src/CharacterSet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |