From 161a8e6a768679bde7054fef96dcbb936c866151 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 12 Nov 2019 22:27:49 +0300 Subject: Add add constructor and remove comparison for path_name_value class --- libbutl/path.ixx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbutl/path.ixx') diff --git a/libbutl/path.ixx b/libbutl/path.ixx index e7000ca..b91102a 100644 --- a/libbutl/path.ixx +++ b/libbutl/path.ixx @@ -707,14 +707,14 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. template inline basic_path_name_value

:: basic_path_name_value (basic_path_name_value&& p) - : basic_path_name_value (std::move (p.path_), std::move (p.name)) + : basic_path_name_value (std::move (p.path), std::move (p.name)) { } template inline basic_path_name_value

:: basic_path_name_value (const basic_path_name_value& p) - : basic_path_name_value (p.path_, p.name) + : basic_path_name_value (p.path, p.name) { } @@ -724,7 +724,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. { if (this != &p) { - path_ = std::move (p.path_); + path = std::move (p.path); this->name = std::move (p.name); } @@ -737,7 +737,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. { if (this != &p) { - path_ = p.path_; + path = p.path; this->name = p.name; } -- cgit v1.1