Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger committed Apr 21, 2024
1 parent e5893c2 commit aa2faa4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modloader/mod/impl/lua/luaFilesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ inline void registerLuaFilesystem(sol::table table)
"clear", &path::clear,
"removeFilename", &path::remove_filename,
"replaceFilename", sol::overload_conv<
path& (path&, const path&),
path& (path&, const string&)
path (path&, const path&),
path (path&, const string&)
>([](path& path, auto... args) { return path.replace_filename(args...); }),
"replaceExtension", sol::overload_conv<
path& (path&, const path&),
path& (path&, const string&)
path (path&, const path&),
path (path&, const string&)
>([](path& path, auto... args) { return path.replace_extension(args...); }),

"append", sol::overload_conv<
path (const path&, const path&),
path (const path&, const string&)
>([](path& path, auto arg) { return path / arg; }),
>([](const path& path, auto arg) { return path / arg; }),

"parentPath", &path::parent_path,
"filename", &path::filename,
Expand Down

0 comments on commit aa2faa4

Please sign in to comment.