mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Don't use override modifier outside the class definition
This commit is contained in:
parent
78fbf07fc7
commit
beda78e168
@ -248,12 +248,12 @@ namespace raster {
|
|||||||
// Specializations
|
// Specializations
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline void ImageImpl<IndexedTraits>::clear(color_t color) OVERRIDE {
|
inline void ImageImpl<IndexedTraits>::clear(color_t color) {
|
||||||
memset(m_bits, color, getWidth()*getHeight());
|
memset(m_bits, color, getWidth()*getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline void ImageImpl<BitmapTraits>::clear(color_t color) OVERRIDE {
|
inline void ImageImpl<BitmapTraits>::clear(color_t color) {
|
||||||
memset(m_bits, (color ? 0xff: 0x00),
|
memset(m_bits, (color ? 0xff: 0x00),
|
||||||
BitmapTraits::getRowStrideBytes(getWidth()) * getHeight());
|
BitmapTraits::getRowStrideBytes(getWidth()) * getHeight());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user