Evaluation code generator: add a missing OPM_UNUSED
thanks to [at]GitPaean for the catch!
This commit is contained in:
parent
663a5bcc2b
commit
819ee5bbf2
@ -412,7 +412,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ public:
|
||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||
// relevant variables, f(x) = c).
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user