fix move assignment operator of Shape class (#2280)
This commit is contained in:
parent
a0da3d360c
commit
8dcff4a741
@ -65,7 +65,7 @@ ngraph::Shape& ngraph::Shape::operator=(const Shape& v)
|
|||||||
|
|
||||||
ngraph::Shape& ngraph::Shape::operator=(Shape&& v) noexcept
|
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;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user