Commit f1d86c71 authored by GILLES Sebastien's avatar GILLES Sebastien

#859 Fix the other bug (wrongly, but I can understand here) identified by Sonarqube.

parent e84db784
Pipeline #99693 passed with stages
in 194 minutes and 39 seconds
...@@ -32,10 +32,9 @@ namespace MoReFEM ...@@ -32,10 +32,9 @@ namespace MoReFEM
[[noreturn]] LocalInterface::LocalInterface(std::false_type, [[noreturn]] LocalInterface::LocalInterface(std::false_type,
InterfaceNS::Nature nature, InterfaceNS::Nature nature,
IsInterior interior) IsInterior interior)
: is_interior_(interior) : nature_(nature),
is_interior_(interior)
{ {
static_cast<void>(nature);
static_cast<void>(interior);
assert(false && "Here only for compile requirements; should never be actually called!"); assert(false && "Here only for compile requirements; should never be actually called!");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment