Skip to content

Commit

Permalink
[deps] Remove ghc-filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
osdeverr committed Feb 12, 2024
1 parent 213cecd commit 3f64ac5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion buildkit/re.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ deps:
- vcpkg:boost-exception
- vcpkg:boost-stacktrace
- vcpkg:boost-xpressive
- vcpkg:ghc-filesystem
- vcpkg:yaml-cpp
- vcpkg:magic-enum
- github:osdeverr/fmt @re-9.1.0-1
Expand Down
9 changes: 2 additions & 7 deletions buildkit/re/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@

namespace re
{
namespace fs = std::filesystem;
namespace fs = std::filesystem;
}
#else
#include <ghc/filesystem.hpp>

namespace re
{
namespace fs = ghc::filesystem;
}
#error Your compiler does not fully support C++17! Re requires the <filesystem> header to be present.
#endif
4 changes: 3 additions & 1 deletion buildkit/re/target.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "target.h"

#include <ghc/filesystem.hpp>
#include <magic_enum.hpp>

#include <fstream>
#include <re/fs.h>

#include <regex>

#include <re/debug.h>
Expand Down

0 comments on commit 3f64ac5

Please sign in to comment.