mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Fix a serious compiler warning
Program returns random data in a function
This commit is contained in:
parent
d371352526
commit
5e62983251
@ -23,6 +23,7 @@ template<typename ImageTraits>
|
|||||||
bool is_same_pixel(color_t pixel1, color_t pixel2)
|
bool is_same_pixel(color_t pixel1, color_t pixel2)
|
||||||
{
|
{
|
||||||
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
|
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
Loading…
Reference in New Issue
Block a user