Skip to content
Snippets Groups Projects
Commit 427fc2fe authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom:
Browse files

a

parent 64c20a83
No related branches found
No related tags found
No related merge requests found
Pipeline #6897380 passed
...@@ -143,7 +143,7 @@ int ConfigMap::Parse<ConfigMap::EFormat::CONF>(std::ifstream &in) { ...@@ -143,7 +143,7 @@ int ConfigMap::Parse<ConfigMap::EFormat::CONF>(std::ifstream &in) {
} }
Config::Config(std::string_view filename) { Config::Config(std::string_view filename) {
auto filename_str = filename.data(); const auto filename_str = std::string(filename);
// Open file and check if valid // Open file and check if valid
std::ifstream in(filename_str, std::ios_base::in); std::ifstream in(filename_str, std::ios_base::in);
if (!in.is_open()) { if (!in.is_open()) {
......
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