Silence unused argument warning for DynamicEvaluation.
This commit is contained in:
parent
45207e1e7a
commit
a9e1551e79
@ -395,7 +395,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 RhsValueType& value)
|
||||
static Evaluation createConstant(const RhsValueType& value OPM_UNUSED)
|
||||
{
|
||||
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
||||
}
|
||||
|
@ -212,7 +212,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 RhsValueType& value)
|
||||
static Evaluation createConstant(const RhsValueType& value OPM_UNUSED)
|
||||
{
|
||||
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user