mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 21:44:22 +00:00
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
This commit is contained in:
commit
ce84dfbef6
@ -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