mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2355 from akva2/janitoring
quell warning about unused local typedef
This commit is contained in:
commit
8b7e65bf8c
@ -585,7 +585,7 @@ private:
|
|||||||
struct MaxOp
|
struct MaxOp
|
||||||
{
|
{
|
||||||
using result_type = T;
|
using result_type = T;
|
||||||
const T& operator()(const T& t1, const T& t2)
|
const result_type& operator()(const T& t1, const T& t2)
|
||||||
{
|
{
|
||||||
return std::max(t1, t2);
|
return std::max(t1, t2);
|
||||||
}
|
}
|
||||||
@ -641,7 +641,7 @@ private:
|
|||||||
struct MinOp
|
struct MinOp
|
||||||
{
|
{
|
||||||
using result_type = T;
|
using result_type = T;
|
||||||
const T& operator()(const T& t1, const T& t2)
|
const result_type& operator()(const T& t1, const T& t2)
|
||||||
{
|
{
|
||||||
return std::min(t1, t2);
|
return std::min(t1, t2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user