From 8dcff4a741f5370bab905981f0aa65319924a2dd Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Fri, 18 Sep 2020 10:19:12 +0200 Subject: [PATCH] fix move assignment operator of Shape class (#2280) --- ngraph/core/src/shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngraph/core/src/shape.cpp b/ngraph/core/src/shape.cpp index 4146f6068a59c9..d615cbb24f5402 100644 --- a/ngraph/core/src/shape.cpp +++ b/ngraph/core/src/shape.cpp @@ -65,7 +65,7 @@ ngraph::Shape& ngraph::Shape::operator=(const Shape& v) ngraph::Shape& ngraph::Shape::operator=(Shape&& v) noexcept { - static_cast*>(this)->operator=(v); + static_cast*>(this)->operator=(std::move(v)); return *this; }