Skip to content

Commit

Permalink
fix move assignment operator of Shape class (#2280)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-jankowski authored Sep 18, 2020
1 parent a0da3d3 commit 8dcff4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngraph/core/src/shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ngraph::Shape& ngraph::Shape::operator=(const Shape& v)

ngraph::Shape& ngraph::Shape::operator=(Shape&& v) noexcept
{
static_cast<std::vector<size_t>*>(this)->operator=(v);
static_cast<std::vector<size_t>*>(this)->operator=(std::move(v));
return *this;
}

Expand Down

0 comments on commit 8dcff4a

Please sign in to comment.