Skip to content

Commit

Permalink
andrd
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Jul 9, 2024
1 parent 2c298b6 commit 8325678
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ inline auto levels_meta_path = levels_path / "_meta";
return c.get(reinterpret_cast<FriendeeClass__*>(v)); \
}(value)

template <typename T>
inline auto read_file(T path) {
inline auto read_file(std::string path) {
if (not fs::exists(path)) {
auto err = fmt::format("file \"{}\" isnt exists.", path);
log::error("{}", err);
Expand Down

0 comments on commit 8325678

Please sign in to comment.