diff --git a/include/tmp/directory b/include/tmp/directory index cbc8e20..bf4c68a 100644 --- a/include/tmp/directory +++ b/include/tmp/directory @@ -1,8 +1,8 @@ #pragma once +#include #include -#include #include namespace tmp { diff --git a/include/tmp/file b/include/tmp/file index 77878c5..9c32996 100644 --- a/include/tmp/file +++ b/include/tmp/file @@ -1,8 +1,8 @@ #pragma once +#include #include -#include #include #include #include diff --git a/include/tmp/fs b/include/tmp/fs new file mode 100644 index 0000000..e43d768 --- /dev/null +++ b/include/tmp/fs @@ -0,0 +1,9 @@ +#pragma once + +#include + +namespace tmp { + +/// The filesystem library to use +namespace fs = std::filesystem; +} // namespace tmp diff --git a/include/tmp/path b/include/tmp/path index 0d4028a..fa8557f 100644 --- a/include/tmp/path +++ b/include/tmp/path @@ -1,13 +1,12 @@ #pragma once +#include + #include #include namespace tmp { -/// The filesystem library to use -namespace fs = std::filesystem; - /// tmp::path is a smart handle that owns and manages a temporary path and /// deletes it recursively when this handle goes out of scope /// diff --git a/src/tmp.cpp b/src/tmp.cpp index 59e81e7..6fc14f5 100644 --- a/src/tmp.cpp +++ b/src/tmp.cpp @@ -1,9 +1,8 @@ +#include #include - #include #include -#include #include #include #include