From c6c224a78715d5e2c532fe318325fbca8e70e701 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 9 Dec 2022 20:00:08 +0300 Subject: Add noexcept to move constructors and move assignment operators --- libbutl/path.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbutl/path.hxx') 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&); }; } -- cgit v1.1