nancy.liao
2025-05-27 6a0df39e3969d490d8c5ead4e3aaf76ae9d67fe2
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);
}
}