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/Uri.cpp | |
parent | 54881d9f90acfb1676b3eebb0feb17811d1cc4bf (diff) |
Refactoring: make application of rule of zero/five consistent
Diffstat (limited to 'src/Uri.cpp')
-rw-r--r-- | src/Uri.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |