ISO C++03 14.2/4 compatibility for clang.
http://stackoverflow.com/questions/3786360/confusing-template-error (hopefully other compilers which didn't mind the missing "template" are still fine with this)
This commit is contained in:
parent
68e81a6afc
commit
990c365ebf
@ -1054,12 +1054,12 @@ private:
|
||||
{
|
||||
set_weak_class ();
|
||||
lua_pushcclosure (L,
|
||||
&weak.ctorPlacementProxy <typename FuncTraits <MemFn>::Params, boost::weak_ptr<T> >, 0);
|
||||
&weak. template ctorPlacementProxy <typename FuncTraits <MemFn>::Params, boost::weak_ptr<T> >, 0);
|
||||
rawsetfield(L, -2, "__call");
|
||||
|
||||
set_shared_class ();
|
||||
lua_pushcclosure (L,
|
||||
&shared.ctorPlacementProxy <typename FuncTraits <MemFn>::Params, boost::shared_ptr<T> >, 0);
|
||||
&shared. template ctorPlacementProxy <typename FuncTraits <MemFn>::Params, boost::shared_ptr<T> >, 0);
|
||||
rawsetfield(L, -2, "__call");
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user