mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-28 18:32:50 +00:00
Minor error in fs_unix.h with std::runtime_error symbol.
This commit is contained in:
parent
dc9a2ced94
commit
c757ff7231
@ -29,7 +29,7 @@ void make_directory(const string& path)
|
||||
int result = mkdir(path.c_str(), 0777);
|
||||
if (result < 0) {
|
||||
// TODO add errno into the exception
|
||||
throw runtime_error("Error creating directory");
|
||||
throw std::runtime_error("Error creating directory");
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ void remove_directory(const string& path)
|
||||
int result = rmdir(path.c_str());
|
||||
if (result != 0) {
|
||||
// TODO add errno into the exception
|
||||
throw runtime_error("Error removing directory");
|
||||
throw std::runtime_error("Error removing directory");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user