mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-20 03:37:52 -05:00
move parts to new common component to avoid circular dependency of zonecommon and objcommon
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
#include "ObjContainerReferenceable.h"
|
||||
|
||||
void ObjContainerReferenceable::AddReference(Zone* referencer)
|
||||
void ObjContainerReferenceable::AddReference(void* referencer)
|
||||
{
|
||||
m_references.insert(referencer);
|
||||
}
|
||||
|
||||
bool ObjContainerReferenceable::RemoveReference(Zone* zone)
|
||||
bool ObjContainerReferenceable::RemoveReference(void* referencer)
|
||||
{
|
||||
return m_references.erase(zone) > 0;
|
||||
return m_references.erase(referencer) > 0;
|
||||
}
|
||||
|
||||
bool ObjContainerReferenceable::IsReferenced() const
|
||||
|
Reference in New Issue
Block a user