]> git.ipfire.org Git - thirdparty/ccache.git/commit
refactor: Improve std::filesystem wrappers
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 17 Jul 2023 07:06:05 +0000 (09:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 18 Jul 2023 19:36:45 +0000 (21:36 +0200)
commitfecb79ed27ceb025f34a002e961bdc5d0f40eb6f
treedc94aedc63086d7d3a3e605e6bd8d422937fa641
parent99ec78c4d4f682bd32494075492311584ffd6431
refactor: Improve std::filesystem wrappers

I couldn't figure out how to make the templated versions support both

    path current_path();

and

    void current_path(const path& p);

so using preprocessor macros instead.
src/util/filesystem.hpp