mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: use std::make_tuple
avoid explicit init list constructor with gcc5
This commit is contained in:
parent
272e63410d
commit
8d1da2ca06
@ -121,7 +121,7 @@ std::tuple<T,int,int> PackUnpack(const T& in)
|
|||||||
T out;
|
T out;
|
||||||
Opm::Mpi::unpack(out, buffer, pos2, comm);
|
Opm::Mpi::unpack(out, buffer, pos2, comm);
|
||||||
|
|
||||||
return {out, pos1, pos2};
|
return std::make_tuple(out, pos1, pos2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user