|
@ -170,8 +170,7 @@ namespace pEp { |
|
|
auto ss = ostringstream{}; |
|
|
auto ss = ostringstream{}; |
|
|
ifstream input_file(filename); |
|
|
ifstream input_file(filename); |
|
|
if (!input_file.is_open()) { |
|
|
if (!input_file.is_open()) { |
|
|
runtime_error e{ "Could not open the file: " + filename }; |
|
|
throw runtime_error ("Could not open the file: " + filename); |
|
|
exit(EXIT_FAILURE); |
|
|
|
|
|
} |
|
|
} |
|
|
ss << input_file.rdbuf(); |
|
|
ss << input_file.rdbuf(); |
|
|
return ss.str(); |
|
|
return ss.str(); |
|
|