mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
Fix a typo in make_pooled
This commit is contained in:
parent
ad8012c89b
commit
92406fa983
@ -36,7 +36,7 @@ return function(class, limit)
|
|||||||
return instance
|
return instance
|
||||||
end
|
end
|
||||||
|
|
||||||
--release a vector to the pool
|
--release a object to the pool
|
||||||
function class:release()
|
function class:release()
|
||||||
if #_pool < _pool_limit then
|
if #_pool < _pool_limit then
|
||||||
table.insert(_pool, self)
|
table.insert(_pool, self)
|
||||||
|
Loading…
Reference in New Issue
Block a user