1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-16 13:48:04 +00:00
This commit is contained in:
Zeno Rogue
2025-10-19 15:52:22 +02:00
parent 113e75d5e1
commit b7fb3adc41
4 changed files with 8 additions and 6 deletions

View File

@@ -1031,11 +1031,11 @@ EX string find_file(string s) {
return s;
}
EX void file_error(const char* fname) {
EX void file_error(const string& fname) {
throw hr_exception("missing file error");
}
EX void file_format_error(const char* fname) {
EX void file_format_error(const string& fname) {
throw hr_exception("file format error");
}