Fix throw statement

This commit is contained in:
2026-08-02 12:24:24 +01:00
parent c235692770
commit 557edb5191
+1 -1
View File
@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
if (argc >= 2)
path = argv[1];
else
throw "Please give filename.";
throw std::runtime_error("Please give filename.");
uint32_t len;
char *text;