MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getProxy

Method getProxy

valdi_core/src/valdi_core/cpp/Utils/PlatformObjectAttachments.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace Valdi {
11
12Ref<ValueTypedProxyObject> PlatformObjectAttachments::Attachment::getProxy() const {
13 if (strongProxy != nullptr) {
14 return strongProxy;
15 } else {
16 return Ref<ValueTypedProxyObject>(weakProxy.lock());
17 }
18}
19
20PlatformObjectAttachments::PlatformObjectAttachments() = default;
21

Callers 2

getProxyForSourceMethod · 0.45
getAllProxiesMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected