We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb59ad9 + 0800465 commit 77f3da2Copy full SHA for 77f3da2
1 file changed
libs/gui/Choreographer.cpp
@@ -116,7 +116,7 @@ Choreographer::~Choreographer() {
116
std::lock_guard<std::mutex> _l(gChoreographers.lock);
117
gChoreographers.ptrs.erase(std::remove_if(gChoreographers.ptrs.begin(),
118
gChoreographers.ptrs.end(),
119
- [=](Choreographer* c) { return c == this; }),
+ [=, this](Choreographer* c) { return c == this; }),
120
gChoreographers.ptrs.end());
121
// Only poke DisplayManagerGlobal to unregister if we previously registered
122
// callbacks.
@@ -394,4 +394,4 @@ int64_t Choreographer::getStartTimeNanosForVsyncId(AVsyncId vsyncId) {
394
return iter->second;
395
}
396
397
-} // namespace android
+} // namespace android
0 commit comments