Remove "typename" keyword in replace_image_colors()

This commit is contained in:
David Capello 2016-02-26 10:09:45 -03:00
parent 2da643ef56
commit c1a2cbebde

View File

@ -100,7 +100,7 @@ static void replace_image_colors(Image* image,
Brush::ImageColor imageColor,
color_t color)
{
typename LockImageBits<ImageTraits> bits(image, Image::ReadWriteLock);
LockImageBits<ImageTraits> 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();