Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Apr 11, 2024
1 parent b583d89 commit 6896694
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions binding/lua_filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,6 @@ namespace bee::lua_filesystem {
return &getpath(L, idx);
}

#if !defined(__cpp_lib_chrono) || __cpp_lib_chrono < 201907
template <class DestClock, class SourceClock, class Duration>
static auto clock_cast(const std::chrono::time_point<SourceClock, Duration>& t) {
return DestClock::now() + (t - SourceClock::now());
}
#endif

namespace path {
static void push(lua_State* L);
static void push(lua_State* L, const fs::path& path);
Expand Down

0 comments on commit 6896694

Please sign in to comment.