diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-07 14:47:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-08 11:08:03 +0200 |
commit | 473dd0feba4ab70980297b1277be16517576b714 (patch) | |
tree | 48d6645c10cd93847168e6db96dc72a847fa41e9 | |
parent | 1703a30dec2695e7a5f1b81c633ac4c63479d9dd (diff) |
Add few missing noexcept qualifications
-rw-r--r-- | libbuild2/file-cache.hxx | 4 | ||||
-rw-r--r-- | libbuild2/file-cache.ixx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/file-cache.hxx b/libbuild2/file-cache.hxx index d210685..e31517e 100644 --- a/libbuild2/file-cache.hxx +++ b/libbuild2/file-cache.hxx @@ -208,9 +208,9 @@ namespace build2 // Move-to-NULL-only type. // - entry (entry&&); + entry (entry&&) noexcept; entry (const entry&) = delete; - entry& operator= (entry&&); + entry& operator= (entry&&) noexcept; entry& operator= (const entry&) = delete; ~entry (); diff --git a/libbuild2/file-cache.ixx b/libbuild2/file-cache.ixx index f8a49cc..026f3fd 100644 --- a/libbuild2/file-cache.ixx +++ b/libbuild2/file-cache.ixx @@ -65,7 +65,7 @@ namespace build2 } inline file_cache::entry:: - entry (entry&& e) + entry (entry&& e) noexcept : temporary (e.temporary), state_ (e.state_), path_ (move (e.path_)), @@ -76,7 +76,7 @@ namespace build2 } inline file_cache::entry& file_cache::entry:: - operator= (entry&& e) + operator= (entry&& e) noexcept { if (this != &e) { |