diff --git a/source/objects/file/wrap_file.cpp b/source/objects/file/wrap_file.cpp index 4da1305f..cbca6554 100644 --- a/source/objects/file/wrap_file.cpp +++ b/source/objects/file/wrap_file.cpp @@ -421,7 +421,7 @@ int Wrap_File::Write(lua_State* L) return 1; } -auto* Wrap_File::CheckFile(lua_State* L, int index) +File* Wrap_File::CheckFile(lua_State* L, int index) { return luax::CheckType(L, index); }