summaryrefslogtreecommitdiff
path: root/libs/lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-27 21:02:30 +0100
committerRobin Gareus <robin@gareus.org>2016-02-27 21:02:30 +0100
commit990c365ebfb442eab6097bf643aad8106c95a396 (patch)
treea083ab7f1ec4f6465a53ea9f61bd9440209e88ca /libs/lua
parent68e81a6afc7dbbe4a02d90ac1b6294e8b3a83ad5 (diff)
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)
Diffstat (limited to 'libs/lua')
-rw-r--r--libs/lua/LuaBridge/detail/Namespace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lua/LuaBridge/detail/Namespace.h b/libs/lua/LuaBridge/detail/Namespace.h
index eae70dd41e..af41b0a5a6 100644
--- a/libs/lua/LuaBridge/detail/Namespace.h
+++ b/libs/lua/LuaBridge/detail/Namespace.h
@@ -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;
}