projects
/
platform
/
upstream
/
dldt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0da3d3
)
fix move assignment operator of Shape class (#2280)
author
Tomasz Jankowski
<tomasz1.jankowski@intel.com>
Fri, 18 Sep 2020 08:19:12 +0000
(10:19 +0200)
committer
GitHub
<noreply@github.com>
Fri, 18 Sep 2020 08:19:12 +0000
(11:19 +0300)
ngraph/core/src/shape.cpp
patch
|
blob
|
history
diff --git
a/ngraph/core/src/shape.cpp
b/ngraph/core/src/shape.cpp
index
4146f60
..
d615cbb
100644
(file)
--- 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<std::vector<size_t>*>(this)->operator=(
v
);
+ static_cast<std::vector<size_t>*>(this)->operator=(
std::move(v)
);
return *this;
}