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:
@@ -106,7 +106,11 @@ namespace Opm
|
||||
|
||||
|
||||
AutoDiffMatrix(AutoDiffMatrix&& other)
|
||||
: AutoDiffMatrix()
|
||||
: type_(Z),
|
||||
rows_(0),
|
||||
cols_(0),
|
||||
diag_(),
|
||||
sparse_()
|
||||
{
|
||||
swap(other);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user