Skip to content
Snippets Groups Projects
Commit 91a644ee authored by florian's avatar florian
Browse files

STY: clang-formatted

parent 681d060f
No related branches found
No related tags found
1 merge request!4ENH: Allow insertion and deletion of single entities
Pipeline #11051 failed
......@@ -463,8 +463,8 @@ auto ConfigurationManager::GetConnection(const std::string &name) const
"' has not been defined.");
}
// TODO(tf) This has apparently a cognitive complexity of 34>25 (threshold).
auto ConfigurationManager::InitializeDefaults() -> int { // NOLINT
// TODO(tf) This has apparently a cognitive complexity of 34>25 (threshold).
auto ConfigurationManager::InitializeDefaults() -> int { // NOLINT
// find the configuration file...
std::unique_ptr<path> configuration_file_path;
......@@ -473,7 +473,8 @@ auto ConfigurationManager::GetConnection(const std::string &name) const
if (configuration_file == "$CAOSDB_CLIENT_CONFIGURATION") {
// user specified a file via the environment variable
// TODO(tf) make this thread-secure (concurrency-mt-unsafe)
const auto *from_env_var = getenv("CAOSDB_CLIENT_CONFIGURATION"); // NOLINT
const auto *from_env_var =
getenv("CAOSDB_CLIENT_CONFIGURATION"); // NOLINT
if (from_env_var != nullptr) {
configuration_file_path = std::make_unique<path>(from_env_var);
if (exists(*configuration_file_path)) {
......
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