From 6f2acb5129fba567546d15df977840e9cc7d54a6 Mon Sep 17 00:00:00 2001 From: Sebastian Eibl <sebastian.eibl@fau.de> Date: Tue, 9 Jun 2020 09:42:26 +0000 Subject: [PATCH] [CLANG-TIDY] various fixes If you are familiar with the coupling feel free to remove the NOLINTs! --- src/blockforest/python/Exports.cpp | 2 +- src/python_coupling/CreateConfig.cpp | 2 +- src/python_coupling/Manager.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blockforest/python/Exports.cpp b/src/blockforest/python/Exports.cpp index fcc28cf6b..08873381e 100644 --- a/src/blockforest/python/Exports.cpp +++ b/src/blockforest/python/Exports.cpp @@ -288,7 +288,7 @@ std::string printSetupBlock(const SetupBlock & b ) void exportBlockForest() { - class_< StructuredBlockForest, + class_< StructuredBlockForest, //NOLINT shared_ptr<StructuredBlockForest>, bases<StructuredBlockStorage>, boost::noncopyable > ( "StructuredBlockForest", no_init ); diff --git a/src/python_coupling/CreateConfig.cpp b/src/python_coupling/CreateConfig.cpp index 461a82a38..0a4416c33 100644 --- a/src/python_coupling/CreateConfig.cpp +++ b/src/python_coupling/CreateConfig.cpp @@ -84,7 +84,7 @@ namespace python_coupling { { public: PythonMultipleConfigGenerator( bp::stl_input_iterator< bp::dict > iterator ) //NOLINT - : iter_( iterator ), firstTime_(true) + : iter_( iterator ), firstTime_(true) //NOLINT {} shared_ptr<Config> next() override diff --git a/src/python_coupling/Manager.cpp b/src/python_coupling/Manager.cpp index 13b401b67..b7af694e8 100644 --- a/src/python_coupling/Manager.cpp +++ b/src/python_coupling/Manager.cpp @@ -53,7 +53,7 @@ Manager::Manager() { } -Manager::~Manager( ) +Manager::~Manager( ) //NOLINT { // To work reliably this would have to be called at the end of the // main function. At this position this leads to a segfault in some cases -- GitLab