Fix throw statement
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (argc >= 2)
|
if (argc >= 2)
|
||||||
path = argv[1];
|
path = argv[1];
|
||||||
else
|
else
|
||||||
throw "Please give filename.";
|
throw std::runtime_error("Please give filename.");
|
||||||
|
|
||||||
uint32_t len;
|
uint32_t len;
|
||||||
char *text;
|
char *text;
|
||||||
|
|||||||
Reference in New Issue
Block a user