mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-29 10:40:59 -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
|
||||
{
|
||||
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);
|
||||
}
|
||||
@ -641,7 +641,7 @@ private:
|
||||
struct MinOp
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user