src/library/base/file_utils.cpp
@@ -13,7 +13,7 @@ #include <errno.h> #include <cstring> #include "file_utils.hpp" #include "../test/functional/generate-license.h" namespace license { using namespace std; @@ -45,7 +45,7 @@ in.read(&contents[0], limited_size); in.close(); } else { throw(std::strerror(errno)); throw runtime_error(std::strerror(errno)); } return contents; } @@ -69,4 +69,6 @@ return path.substr(0, dotpos); } }