Delete love::Type copy constructor

--HG--
branch : dynamiccore2
This commit is contained in:
Bart van Strien
2016-11-13 16:46:26 +01:00
parent c761202486
commit 3b88c13535
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ T *luax_optmodule(lua_State *L, love::Type &type)
* @param type The type of the object.
**/
template <typename T>
T *luax_totype(lua_State *L, int idx, love::Type /*type*/)
T *luax_totype(lua_State *L, int idx, love::Type& /*type*/)
{
T *o = (T *)(((Proxy *)lua_touserdata(L, idx))->object);
+1
View File
@@ -39,6 +39,7 @@ public:
// TODO: Type-checking templated constructor
Type(Type *parent);
Type(const Type&) = delete;
uint32_t getId();
bool isa(const uint32_t &other);