We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b672e1 commit 03692aaCopy full SHA for 03692aa
llvm/include/llvm/ProfileData/MemProfReader.h
@@ -62,8 +62,7 @@ class MemProfReader {
62
return make_error<InstrProfError>(instrprof_error::eof);
63
64
if (Callback == nullptr)
65
- Callback =
66
- std::bind(&MemProfReader::idToFrame, this, std::placeholders::_1);
+ Callback = [&](FrameId Id) { return idToFrame(Id); };
67
68
CallStackIdConverter<decltype(MemProfData.CallStacks)> CSIdConv(
69
MemProfData.CallStacks, Callback);
0 commit comments