Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sol/reference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ class reference {
luaL_unref(L, LUA_REGISTRYINDEX, ref);
}

void push() const noexcept {
int push() const noexcept {
lua_rawgeti(L, LUA_REGISTRYINDEX, ref);
return 1;
}

reference(reference&& o) noexcept {
Expand Down