aboutsummaryrefslogtreecommitdiff
path: root/src/CharacterSet.cpp
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-08-09 12:52:51 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-08-09 12:52:51 -0700
commit65669919341ab2940f00dc32ff622f00c6c2f6da (patch)
tree7376bfd85ef553d178eb3279ab06b5ed1caf2ad5 /src/CharacterSet.cpp
parent54881d9f90acfb1676b3eebb0feb17811d1cc4bf (diff)
Refactoring: make application of rule of zero/five consistent
Diffstat (limited to 'src/CharacterSet.cpp')
-rw-r--r--src/CharacterSet.cpp6
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)