From beda78e168f53136107aa60a509680e3ef2a9338 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 28 Jan 2014 23:46:27 -0300 Subject: [PATCH] Don't use override modifier outside the class definition --- src/raster/image_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raster/image_impl.h b/src/raster/image_impl.h index e6c54fd74..4abe66319 100644 --- a/src/raster/image_impl.h +++ b/src/raster/image_impl.h @@ -248,12 +248,12 @@ namespace raster { // Specializations template<> - inline void ImageImpl::clear(color_t color) OVERRIDE { + inline void ImageImpl::clear(color_t color) { memset(m_bits, color, getWidth()*getHeight()); } template<> - inline void ImageImpl::clear(color_t color) OVERRIDE { + inline void ImageImpl::clear(color_t color) { memset(m_bits, (color ? 0xff: 0x00), BitmapTraits::getRowStrideBytes(getWidth()) * getHeight()); }