lib: fix compile

This commit is contained in:
Vaxry 2024-03-11 22:01:40 +00:00
parent 0cbf601229
commit 09b2a50fe7
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ void CHyprcursorManager::cursorSurfaceStyleDone(const SCursorStyleInfo& info) {
if (shape->resizeAlgo == RESIZE_NONE && shape->shapeType != SHAPE_SVG) if (shape->resizeAlgo == RESIZE_NONE && shape->shapeType != SHAPE_SVG)
continue; continue;
std::erase_if(impl->loadedShapes[shape.get()].images, [info, shape](const auto& e) { std::erase_if(impl->loadedShapes[shape.get()].images, [info, &shape](const auto& e) {
const bool isSVG = shape->shapeType == SHAPE_SVG; const bool isSVG = shape->shapeType == SHAPE_SVG;
const bool isArtificial = e->artificial; const bool isArtificial = e->artificial;