X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fio%2Ffilesystem.cpp;fp=src%2Fio%2Ffilesystem.cpp;h=bdea3a553efed4f3b9100da2b90de5b2e6785543;hb=c0a5ece0f6bacea1b85157a908d710070fb0affd;hp=5a4515e78dfab5629e5ce806b0622d9822829cc2;hpb=307482574d3acac09e38263de521a1826ceec7ce;p=blank.git diff --git a/src/io/filesystem.cpp b/src/io/filesystem.cpp index 5a4515e..bdea3a5 100644 --- a/src/io/filesystem.cpp +++ b/src/io/filesystem.cpp @@ -1,5 +1,7 @@ #include "filesystem.hpp" +#include "../app/error.hpp" + #include #include #include @@ -219,7 +221,7 @@ TempDir::TempDir() { char tmpl[] = "blank.XXXXXX"; const char *name = mkdtemp(tmpl); if (!name) { - throw runtime_error("unable to create temporary directory"); + throw SysError("unable to create temporary directory"); } path = name; #else