mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
simplify: use std::is_same_v<>
This commit is contained in:
parent
163be007e5
commit
1f8fb5d664
@ -589,7 +589,7 @@ public:
|
||||
void processElementFlows(const ElementContext& elemCtx)
|
||||
{
|
||||
OPM_TIMEBLOCK_LOCAL(processElementBlockData);
|
||||
if (!std::is_same<Discretization, EcfvDiscretization<TypeTag>>::value)
|
||||
if (!std::is_same_v<Discretization, EcfvDiscretization<TypeTag>>)
|
||||
return;
|
||||
|
||||
const auto& problem = elemCtx.simulator().problem();
|
||||
|
Loading…
Reference in New Issue
Block a user