aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-14 11:55:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-14 11:55:42 +0300
commit424fcd3901925882e0bc1922805f24c052b418b3 (patch)
tree95fba9cc6116d7b0b1636a90ae64b3382a5a3a55 /libbpkg/manifest.hxx
parent1c28876c1357d332951b27a1db09a5fc37f7abea (diff)
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 35bf915..0fd5feb 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -102,7 +102,7 @@ namespace bpkg
version (version&&) = default;
version (const version&) = default;
- version& operator= (version&&);
+ version& operator= (version&&) noexcept;
version& operator= (const version&);
// If the revision is ignored, then the iteration (that semantically
@@ -281,9 +281,9 @@ namespace bpkg
text_file (path_type p, std::string c)
: file (true), path (std::move (p)), comment (std::move (c)) {}
- text_file (text_file&&);
+ text_file (text_file&&) noexcept;
text_file (const text_file&);
- text_file& operator= (text_file&&);
+ text_file& operator= (text_file&&) noexcept;
text_file& operator= (const text_file&);
~text_file ();
@@ -882,9 +882,9 @@ namespace bpkg
build_class_term ()
: operation ('\0'), inverted (false), simple (true), name () {}
- build_class_term (build_class_term&&);
+ build_class_term (build_class_term&&) noexcept;
build_class_term (const build_class_term&);
- build_class_term& operator= (build_class_term&&);
+ build_class_term& operator= (build_class_term&&) noexcept;
build_class_term& operator= (const build_class_term&);
~build_class_term ();