aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/file-cache.hxx4
-rw-r--r--libbuild2/file-cache.ixx4
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)
{