heck 1 month ago
commit af7cc32668
  1. 3
      src/std_utils.cc
  2. 1
      test/test_inspect.cc

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

@ -1,5 +1,6 @@
#include <iostream>
#include <cctype>
#include <cassert>
#include "../src/inspect.hh"
#include <pEp/utils.hh>
#include <pEp/pEpLog.hh>

Loading…
Cancel
Save