From 5fda4891c315ca639f332d4bb0f1037abfb960eb Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sat, 25 Jan 2020 18:55:09 +0100 Subject: [PATCH] [params] Apply naming conventions for private member function --- dumux/common/loggingparametertree.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dumux/common/loggingparametertree.hh b/dumux/common/loggingparametertree.hh index 084fd9c32d..d6e702e229 100644 --- a/dumux/common/loggingparametertree.hh +++ b/dumux/common/loggingparametertree.hh @@ -456,7 +456,7 @@ public: std::vector<std::string> getUnusedKeys() const { std::vector<std::string> unusedParams; - findUnusedKeys(params_, unusedParams); + findUnusedKeys_(params_, unusedParams); return unusedParams; } @@ -467,9 +467,9 @@ private: * \param unusedParams Container to store unused keys * \param prefix the prefix attached to the key */ - void findUnusedKeys(const Dune::ParameterTree& tree, - std::vector<std::string>& unusedParams, - const std::string& prefix = "") const + void findUnusedKeys_(const Dune::ParameterTree& tree, + std::vector<std::string>& unusedParams, + const std::string& prefix = "") const { // loop over all keys of the current tree // store keys which were not accessed @@ -481,7 +481,7 @@ private: // recursively loop over all subtrees const auto& subTreeKeys = tree.getSubKeys(); for (const auto& key : subTreeKeys) - findUnusedKeys(tree.sub(key), unusedParams, prefix + key + "."); + findUnusedKeys_(tree.sub(key), unusedParams, prefix + key + "."); } const Dune::ParameterTree& params_; -- GitLab