• Stefan Brüns's avatar
    Explicitly default operator= for Vec<T, n> · e9a2e665
    Stefan Brüns authored
    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: 's avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
    e9a2e665
Name
Last commit
Last update
..
opencv2 Loading commit data...