mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5559 from akva2/janitoring
do not capture compile time data in lambda
This commit is contained in:
commit
1a6b063824
@ -902,7 +902,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
@ -1026,7 +1026,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
@ -1155,7 +1155,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
@ -1472,7 +1472,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
@ -1707,7 +1707,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
@ -1962,7 +1962,7 @@ BOOST_AUTO_TEST_CASE(Standard_Multiple_Failing_Points)
|
||||
|
||||
const auto rankMultiplier = 100'000;
|
||||
|
||||
checker.setPointIDFormatCallback([rankMultiplier](const std::size_t pointID)
|
||||
checker.setPointIDFormatCallback([](const std::size_t pointID)
|
||||
{
|
||||
const auto rank = pointID / rankMultiplier;
|
||||
const auto pt = pointID % rankMultiplier;
|
||||
|
Loading…
Reference in New Issue
Block a user