MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Resolve

Method Resolve

IntelPresentMon/CommonUtilities/log/ErrorCode.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return std::holds_alternative<std::monostate>(integral_);
42 }
43 bool ErrorCode::Resolve(const IErrorCodeResolver& resolver)
44 {
45 if (!Empty() && HasTypeInfo()) {
46 pStrings_ = std::make_unique<IErrorCodeResolver::Strings>(
47 resolver.Resolve(std::type_index{ *pTypeInfo_ }, *this));
48 return true;
49 }
50 pStrings_ = std::make_unique<IErrorCodeResolver::Strings>();
51 return false;
52 }
53 bool ErrorCode::HasTypeInfo() const
54 {
55 return bool(pTypeInfo_);

Callers 10

GetTraceStringMethod · 0.45
TransformFilterMethod · 0.45
Channel.cppFile · 0.45
commit_Method · 0.45
WinMainFunction · 0.45
ResolveSanitizedPathFunction · 0.45
ExecuteOnRendererMethod · 0.45
ExecuteOnBrowserMethod · 0.45
ExecuteOnRendererMethod · 0.45
ExecuteOnBrowserMethod · 0.45

Calls

no outgoing calls

Tested by 2

ExecuteOnBrowserMethod · 0.36
ExecuteOnBrowserMethod · 0.36