Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Pull in upstream change from query-iter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio committed Dec 24, 2023
1 parent c744828 commit 1304db4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/World.lua
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,14 @@ local function noop() end
local noopQuery = setmetatable({
next = noop,
snapshot = noop,
without = noop,
without = function(self)
return self
end,
view = noop,
}, {
__iter = noop,
__iter = function()
return noopQuery
end,
})

function World:query(...)
Expand Down

0 comments on commit 1304db4

Please sign in to comment.