From f1d86c71fe9cfc19eff759196ed4bff06e44d753 Mon Sep 17 00:00:00 2001 From: Sebastien Gilles Date: Mon, 21 Oct 2019 14:02:32 +0200 Subject: [PATCH] #859 Fix the other bug (wrongly, but I can understand here) identified by Sonarqube. --- .../Geometry/Interfaces/LocalInterface/LocalInterface.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/Geometry/Interfaces/LocalInterface/LocalInterface.cpp b/Sources/Geometry/Interfaces/LocalInterface/LocalInterface.cpp index c56f3e053..737507971 100644 --- a/Sources/Geometry/Interfaces/LocalInterface/LocalInterface.cpp +++ b/Sources/Geometry/Interfaces/LocalInterface/LocalInterface.cpp @@ -32,10 +32,9 @@ namespace MoReFEM [[noreturn]] LocalInterface::LocalInterface(std::false_type, InterfaceNS::Nature nature, IsInterior interior) - : is_interior_(interior) + : nature_(nature), + is_interior_(interior) { - static_cast(nature); - static_cast(interior); assert(false && "Here only for compile requirements; should never be actually called!"); exit(EXIT_FAILURE); } -- 2.22.0