diff --git a/sqrat/include/sqrat/sqratTable.h b/sqrat/include/sqrat/sqratTable.h index ac2ff8d..b2662fa 100644 --- a/sqrat/include/sqrat/sqratTable.h +++ b/sqrat/include/sqrat/sqratTable.h @@ -49,6 +49,9 @@ class TableBase : public Object { TableBase(const Object& obj) : Object(obj) { } + TableBase(Object && obj) : Object(SQRAT_STD::move(obj)) { + } + TableBase(HSQOBJECT o, HSQUIRRELVM v) : Object(o, v) { } @@ -306,6 +309,9 @@ class Table : public TableBase { Table(const Object& obj) : TableBase(obj) { } + Table(Object && obj) : TableBase(SQRAT_STD::move(obj)) { + } + Table(HSQOBJECT o, HSQUIRRELVM v) : TableBase(o, v) { } };