IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 50069c02 authored by Dominik Baack's avatar Dominik Baack Committed by ralfulrich
Browse files

corsika_data to snake_case

parent 356554d9
No related branches found
No related tags found
1 merge request!280Refactory 2020
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <stdexcept> #include <stdexcept>
#include <string> #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) { if (auto const* p = std::getenv("CORSIKA_DATA"); p != nullptr) {
auto const path = std::string(p) + "/" + key; auto const path = std::string(p) + "/" + key;
return path; return path;
......
...@@ -14,7 +14,7 @@ namespace corsika { ...@@ -14,7 +14,7 @@ namespace corsika {
/** /**
* returns the full path of the file \p filename within the CORSIKA_DATA directory * 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 } // namespace corsika
#include <corsika/detail/framework/utility/CorsikaData.inl> #include <corsika/detail/framework/utility/CorsikaData.inl>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment