Fix iterator_policy destruction bug.
commit17a85a7657d94b256748cef45911c227a2c20afe
authorJiao Hang <jiaohang.acc@gmail.com>
Wed, 30 Dec 2009 17:52:14 +0000 (30 18:52 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Wed, 30 Dec 2009 17:52:14 +0000 (30 18:52 +0100)
treef637649cbdcfc2de9b1f0c8e433605385c234aa9
parent2bddd81923b2a4a4b34c0c5786a1cff58befcfe1
Fix iterator_policy destruction bug.

When the userdata is garbage collected, the userdata is passed to the
destroy function as a parameter, not an upvalue.
luabind/iterator_policy.hpp