mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removed need for delegating constructors
This commit is contained in:
parent
38865cac31
commit
83c3d51ae0
@ -106,7 +106,11 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
AutoDiffMatrix(AutoDiffMatrix&& other)
|
AutoDiffMatrix(AutoDiffMatrix&& other)
|
||||||
: AutoDiffMatrix()
|
: type_(Z),
|
||||||
|
rows_(0),
|
||||||
|
cols_(0),
|
||||||
|
diag_(),
|
||||||
|
sparse_()
|
||||||
{
|
{
|
||||||
swap(other);
|
swap(other);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user