Removed need for delegating constructors

This commit is contained in:
babrodtk 2015-09-07 15:33:46 +02:00
parent 38865cac31
commit 83c3d51ae0

View File

@ -106,7 +106,11 @@ namespace Opm
AutoDiffMatrix(AutoDiffMatrix&& other)
: AutoDiffMatrix()
: type_(Z),
rows_(0),
cols_(0),
diag_(),
sparse_()
{
swap(other);
}