mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
parent
1c19aa2b4f
commit
50852e5319
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void CHyprpaper::ensurePoolBuffersPresent() {
|
|||
if (m->size == Vector2D())
|
||||
continue;
|
||||
|
||||
auto it = std::find_if(m_vBuffers.begin(), m_vBuffers.end(), [wt = wt, &m](const std::unique_ptr<SPoolBuffer>& el) {
|
||||
auto it = std::find_if(m_vBuffers.begin(), m_vBuffers.end(), [&](const std::unique_ptr<SPoolBuffer>& el) {
|
||||
return el->target == wt.m_szPath && el->pixelSize == m->size * m->scale;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue