diff options
| author | 2025-02-12 10:07:57 -0800 | |
|---|---|---|
| committer | 2025-02-12 10:07:57 -0800 | |
| commit | 870725d61fa3c1ecf568ca318c446b57475664ab (patch) | |
| tree | 1b3f034c370d17d2feab13b6a2a82d4f4af259a8 | |
| parent | cf5a4f185527c68bffd4878814ffd03c320438d1 (diff) | |
Implicit capture of 'this' with a capture default of '=' is deprecated
```
CaptureTimer.cpp:34:13: warning: implicit capture
of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
```
Change-Id: Ib3fe4e958964b15b6135f8d73b093493d36fc8b1
| -rw-r--r-- | libs/renderengine/skia/debug/CaptureTimer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/renderengine/skia/debug/CaptureTimer.cpp b/libs/renderengine/skia/debug/CaptureTimer.cpp index 11bcdb8996..1c1ee0abb3 100644 --- a/libs/renderengine/skia/debug/CaptureTimer.cpp +++ b/libs/renderengine/skia/debug/CaptureTimer.cpp @@ -30,7 +30,7 @@ namespace skia { void CaptureTimer::setTimeout(TimeoutCallback function, std::chrono::milliseconds delay) { this->clear = false; - CommonPool::post([=]() { + CommonPool::post([=,this]() { if (this->clear) return; std::this_thread::sleep_for(delay); if (this->clear) return; |