Merge pull request #2355 from akva2/janitoring

quell warning about unused local typedef
This commit is contained in:
Arne Morten Kvarving 2020-02-19 11:35:39 +01:00 committed by GitHub
commit 8b7e65bf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}