mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +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)
|
||||
{
|
||||
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
|
||||
return false;
|
||||
}
|
||||
|
||||
template<>
|
||||
|
Loading…
Reference in New Issue
Block a user