Changeset 64 for trunk/src/object.cc
- Timestamp:
- 05/30/13 20:13:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/object.cc
r57 r64 7 7 #include "nv/object.hh" 8 8 9 #include "nv/root.hh" 9 10 #include "nv/types.hh" 10 11 … … 12 13 13 14 object::object() 14 : m_ id(), m_name(), m_uid(0), m_lua_index(-2), m_parent( nullptr ), m_children(), m_child_count(0)15 : m_root( nullptr ), m_id(), m_name(), m_uid(0), m_lua_index(-2), m_parent( nullptr ), m_children(), m_child_count(0) 15 16 { 16 17 // m_uid = uid_store::get_free_uid(); … … 18 19 } 19 20 20 object::object( stringaid, uid auid )21 : m_ id(aid), m_name(), m_uid( auid ), m_lua_index(-2), m_parent( nullptr ), m_children(), m_child_count(0)21 object::object( root* aroot, const string& aid, uid auid ) 22 : m_root( aroot ), m_id(aid), m_name(), m_uid( auid ), m_lua_index(-2), m_parent( nullptr ), m_children(), m_child_count(0) 22 23 { 23 24 // uid_store::register_object( this, auid );
Note: See TracChangeset
for help on using the changeset viewer.