Merge pull request #658 from akva2/add_cc_quell_warning

Remove explicit assignment-operator from class
This commit is contained in:
Atgeirr Flø Rasmussen
2021-05-19 14:23:55 +02:00
committed by GitHub

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