aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-12 16:11:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-12 16:11:22 +0300
commit0bc2aa6c55e0dcaf5d64224cf76baba1a9c220d3 (patch)
tree39ebdba654c06d51688d2796da453df9e9b447de
parentfa313152767ae60941987450268f9562e1d59d42 (diff)
Fix basic_path_name_value::operator=() overloads to return *this
-rw-r--r--libbutl/path.ixx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbutl/path.ixx b/libbutl/path.ixx
index ae19b58..e7000ca 100644
--- a/libbutl/path.ixx
+++ b/libbutl/path.ixx
@@ -727,6 +727,8 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
path_ = std::move (p.path_);
this->name = std::move (p.name);
}
+
+ return *this;
}
template <typename P>
@@ -738,5 +740,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
path_ = p.path_;
this->name = p.name;
}
+
+ return *this;
}
}