Small code tweak
This commit is contained in:
parent
f5da1671fd
commit
5cf7d650c8
|
@ -14,7 +14,7 @@ struct file_access_error : runtime_error
|
||||||
public:
|
public:
|
||||||
file_access_error(StringView filename,
|
file_access_error(StringView filename,
|
||||||
StringView error_desc)
|
StringView error_desc)
|
||||||
: runtime_error(filename + ": "_str + error_desc) {}
|
: runtime_error(filename + ": " + error_desc) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct file_not_found : file_access_error
|
struct file_not_found : file_access_error
|
||||||
|
|
Loading…
Reference in New Issue
Block a user