diff --git a/src/doc/brush.cpp b/src/doc/brush.cpp index 3dd984d37..3221416f6 100644 --- a/src/doc/brush.cpp +++ b/src/doc/brush.cpp @@ -100,7 +100,7 @@ static void replace_image_colors(Image* image, Brush::ImageColor imageColor, color_t color) { - typename LockImageBits bits(image, Image::ReadWriteLock); + LockImageBits bits(image, Image::ReadWriteLock); bool hasAlpha = false; // True if "image" has a pixel with alpha < 255 color_t mainColor, bgColor; color_t maskColor = image->maskColor();