From 50069c020ac1b27c4229cc04ad9acb4cc21bc0ca Mon Sep 17 00:00:00 2001 From: Dominik Baack <dominik.baack@tu-dortmund.de> Date: Tue, 17 Nov 2020 12:13:59 +0100 Subject: [PATCH] corsika_data to snake_case --- corsika/detail/framework/utility/CorsikaData.inl | 2 +- corsika/framework/utility/CorsikaData.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/corsika/detail/framework/utility/CorsikaData.inl b/corsika/detail/framework/utility/CorsikaData.inl index e690e3e0a..0d67b57c8 100644 --- a/corsika/detail/framework/utility/CorsikaData.inl +++ b/corsika/detail/framework/utility/CorsikaData.inl @@ -12,7 +12,7 @@ #include <stdexcept> #include <string> -std::string corsika::CorsikaData(std::string const& key) { +std::string corsika::corsika_data(std::string const& key) { if (auto const* p = std::getenv("CORSIKA_DATA"); p != nullptr) { auto const path = std::string(p) + "/" + key; return path; diff --git a/corsika/framework/utility/CorsikaData.hpp b/corsika/framework/utility/CorsikaData.hpp index 7db08948b..c1a56e7f0 100644 --- a/corsika/framework/utility/CorsikaData.hpp +++ b/corsika/framework/utility/CorsikaData.hpp @@ -14,7 +14,7 @@ namespace corsika { /** * returns the full path of the file \p filename within the CORSIKA_DATA directory */ - std::string CorsikaData(std::string const& filename); + std::string corsika_data(std::string const& filename); } // namespace corsika #include <corsika/detail/framework/utility/CorsikaData.inl> \ No newline at end of file -- GitLab