mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
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:
parent
6769e1b9c7
commit
40bae8ba9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user