From 665ae7560b57adf18beb2ca112b58a00845bca97 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Tue, 23 May 2017 17:18:35 +0200 Subject: [PATCH] [Mat] semicolon after OGS_FATAL is mandatory now. --- .../Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp | 2 +- MaterialLib/Adsorption/ReactionInert.h | 2 +- .../PorousMedium/Permeability/createPermeabilityModel.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp index 04ef2e9a5f8..06f65f8cc31 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp +++ b/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp @@ -133,7 +133,7 @@ int main(int argc, char* argv[]) std::ofstream os(name); if (!os) OGS_FATAL("Couldn't open file '%s' for writing.", - name.c_str()) + name.c_str()); for (std::size_t n(0); n < number; ++n) os << "0\n"; }; diff --git a/MaterialLib/Adsorption/ReactionInert.h b/MaterialLib/Adsorption/ReactionInert.h index 3e3a05052c1..f6cd26302fb 100644 --- a/MaterialLib/Adsorption/ReactionInert.h +++ b/MaterialLib/Adsorption/ReactionInert.h @@ -28,7 +28,7 @@ public: double getReactionRate(const double /*p_Ads*/, const double /*T_Ads*/, const double /*M_Ads*/, const double /*loading*/) const override { - OGS_FATAL("Method getReactionRate() should never be called directly") + OGS_FATAL("Method getReactionRate() should never be called directly"); } }; diff --git a/MaterialLib/PorousMedium/Permeability/createPermeabilityModel.cpp b/MaterialLib/PorousMedium/Permeability/createPermeabilityModel.cpp index 8ffe381b6b3..3927950dd2b 100644 --- a/MaterialLib/PorousMedium/Permeability/createPermeabilityModel.cpp +++ b/MaterialLib/PorousMedium/Permeability/createPermeabilityModel.cpp @@ -46,7 +46,7 @@ Eigen::MatrixXd createPermeabilityModel(BaseLib::ConfigTree const& config) default: { OGS_FATAL( - "Number of values for permeability tensor must be 1, 4 or 9.") + "Number of values for permeability tensor must be 1, 4 or 9."); } } -- GitLab