mirror of https://github.com/opencv/opencv.git
Due to the explicitly declared copy constructor Vec<T, n>::Vec(Vec <T,n>&) GCC 9 warns if there is no assignment operator, as having one typically requires the other (rule-of-three, constructor/desctructor/assginment). As the values are just a plain array the default assignment operator does the right thing. Tell the compiler explicitly to default it. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>pull/14934/head
parent
8937e8756e
commit
e9a2e665b2
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue