Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cginternals/globjects
/ registerObject
Method
registerObject
source/globjects/source/registry/ObjectRegistry.cpp:43–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
void ObjectRegistry::registerObject(Object * object)
44
{
45
assert(object != nullptr);
46
47
if (object->id() == 0)
48
return;
49
50
m_objects.insert(object);
51
}
52
53
void ObjectRegistry::deregisterObject(Object * object)
54
{
Callers
1
Object
Method · 0.80
Calls
1
id
Method · 0.45
Tested by
no test coverage detected