Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cisco/openh264
/ Assign
Method
Assign
module/RefCounted.h:129–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
127
128
private:
129
void Assign(T* aPtr) {
130
if (mPtr) {
131
mPtr->Release();
132
}
133
mPtr = aPtr;
134
if (mPtr) {
135
aPtr->AddRef();
136
}
137
}
138
T* mPtr;
139
};
140
Callers
nothing calls this directly
Calls
2
Release
Method · 0.80
AddRef
Method · 0.80
Tested by
no test coverage detected