Skip to content

Commit

Permalink
Fix potential ownership issue on assignement operator with const ref
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Aug 30, 2024
1 parent 62debb6 commit 7dc52e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/core/include/visp3/core/vpImage_operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,6 @@ template <class Type> vpImage<Type> &vpImage<Type>::operator=(const vpImage<Type
if (other.display != nullptr) {
display = other.display;
}
height = other.height;
width = other.width;
npixels = other.npixels;
hasOwnership = other.hasOwnership;


return *this;
}
Expand Down

0 comments on commit 7dc52e3

Please sign in to comment.