mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-11-17 02:35:57 +01:00
lib: fix compile
This commit is contained in:
parent
0cbf601229
commit
09b2a50fe7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue