mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-16 13:48:04 +00:00
fixups
This commit is contained in:
4
util.cpp
4
util.cpp
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user