remove assignment-operator from class

if an assignment-operator is defined, implicitly
definition of cc is deprecated. there is no reason
we have to override the parent assignment operator,
so simply remove both of them.

quells a clang warning
This commit is contained in:
Arne Morten Kvarving 2021-05-18 12:04:37 +02:00
parent 6769e1b9c7
commit 40bae8ba9e

View File

@ -190,16 +190,6 @@ public:
(*this)[i] = value;
return *this;
}
/*!
* \brief Assignment operator from another rate vector
*/
BlackOilRateVector& operator=(const BlackOilRateVector& other)
{
for (unsigned i=0; i < this->size(); ++i)
(*this)[i] = other[i];
return *this;
}
};
} // namespace Opm