Use correct index in inject_backref().
commitbf0767bc561ade885f0dcb9568242bc9abad8d65
authorDaniel Wallin <daniel@boostpro.com>
Thu, 18 Dec 2008 11:30:22 +0000 (18 12:30 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Thu, 18 Dec 2008 21:06:58 +0000 (18 22:06 +0100)
tree880cb1ebf885ab4e0f9753089eef1d4c9f9dda9d
parentbc78b77efc5777db2b43f8b0a018d060290f524f
Use correct index in inject_backref().

Index 1 refers to the self argument. We were using -1, which works when
there are no arguments to the constructor and fails otherwise.
luabind/detail/constructor.hpp