mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make lambda C++11 compliant
This commit is contained in:
parent
75561a0da7
commit
a6175942fd
@ -338,7 +338,7 @@ namespace Opm
|
|||||||
const Opm::EclipseState& eclipseState,
|
const Opm::EclipseState& eclipseState,
|
||||||
std::unique_ptr<EclipseIO>&& eclIO,
|
std::unique_ptr<EclipseIO>&& eclIO,
|
||||||
const Opm::PhaseUsage &phaseUsage)
|
const Opm::PhaseUsage &phaseUsage)
|
||||||
: output_( [¶m](){
|
: output_( [ ¶m ] () -> bool {
|
||||||
// If output parameter is true or all, then we do output
|
// If output parameter is true or all, then we do output
|
||||||
const std::string outputString = param.getDefault("output", std::string("all"));
|
const std::string outputString = param.getDefault("output", std::string("all"));
|
||||||
return ( outputString == "all" || outputString == "true" );
|
return ( outputString == "all" || outputString == "true" );
|
||||||
|
Loading…
Reference in New Issue
Block a user