From 3b46b167c4cbb958b219e3c1a59ddccdce8a95e6 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Thu, 22 Feb 2018 17:49:08 +0100 Subject: [PATCH] [T/NL] Fix warning in case of fallthrough if. --- Tests/NumLib/TestShapeFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/NumLib/TestShapeFunctions.cpp b/Tests/NumLib/TestShapeFunctions.cpp index ccf59c83fcd..3ca04502a6d 100644 --- a/Tests/NumLib/TestShapeFunctions.cpp +++ b/Tests/NumLib/TestShapeFunctions.cpp @@ -74,6 +74,7 @@ struct NaturalPointGenerator [](double const& v) { return 1. - v; }); return mapped_tuple; } + OGS_FATAL("NaturalPointGenerator: Unknown shape function type."); } result_type operator()(std::size_t /*size*/ = 0) -- GitLab