aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-09 20:00:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-13 14:50:13 +0300
commitc6c224a78715d5e2c532fe318325fbca8e70e701 (patch)
treedc755313aa482f62ebac15ade66c41a24e908d86 /libbutl/path.hxx
parent8cc86445437e7afc583dee18b36c0e8ba4b6fe12 (diff)
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'libbutl/path.hxx')
-rw-r--r--libbutl/path.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/path.hxx b/libbutl/path.hxx
index 70c15d4..b10022a 100644
--- a/libbutl/path.hxx
+++ b/libbutl/path.hxx
@@ -1479,9 +1479,9 @@ namespace butl
basic_path_name (): // Create empty/NULL path name.
base (nullptr, &name) {}
- basic_path_name (basic_path_name&&);
+ basic_path_name (basic_path_name&&) noexcept;
basic_path_name (const basic_path_name&);
- basic_path_name& operator= (basic_path_name&&);
+ basic_path_name& operator= (basic_path_name&&) noexcept;
basic_path_name& operator= (const basic_path_name&);
};
@@ -1508,9 +1508,9 @@ namespace butl
basic_path_name_value (): base (&path) {} // Create empty/NULL path name.
- basic_path_name_value (basic_path_name_value&&);
+ basic_path_name_value (basic_path_name_value&&) noexcept;
basic_path_name_value (const basic_path_name_value&);
- basic_path_name_value& operator= (basic_path_name_value&&);
+ basic_path_name_value& operator= (basic_path_name_value&&) noexcept;
basic_path_name_value& operator= (const basic_path_name_value&);
};
}