Evaluation code generator: add a missing OPM_UNUSED

thanks to [at]GitPaean for the catch!
This commit is contained in:
Andreas Lauser 2019-06-12 15:08:31 +02:00
parent 663a5bcc2b
commit 819ee5bbf2
14 changed files with 14 additions and 14 deletions

View File

@ -412,7 +412,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -205,7 +205,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -196,7 +196,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -205,7 +205,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -206,7 +206,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -207,7 +207,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -197,7 +197,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -198,7 +198,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -199,7 +199,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -200,7 +200,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -201,7 +201,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -202,7 +202,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -203,7 +203,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }

View File

@ -204,7 +204,7 @@ public:
// "evaluate" a constant function (i.e. a function that does not depend on the set of // "evaluate" a constant function (i.e. a function that does not depend on the set of
// relevant variables, f(x) = c). // relevant variables, f(x) = c).
template <class RhsValueType> template <class RhsValueType>
static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value)
{ {
return Evaluation(value); return Evaluation(value);
} }