From 0bc2aa6c55e0dcaf5d64224cf76baba1a9c220d3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 12 Nov 2019 16:11:22 +0300 Subject: Fix basic_path_name_value::operator=() overloads to return *this --- libbutl/path.ixx | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ -738,5 +740,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. path_ = p.path_; this->name = p.name; } + + return *this; } } -- cgit v1.1