mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Fix static_assert() error on gcc and clang
This commit is contained in:
parent
ed14c56455
commit
20c78f32c6
@ -22,7 +22,7 @@ namespace {
|
||||
template<typename ImageTraits>
|
||||
bool is_same_pixel(color_t pixel1, color_t pixel2)
|
||||
{
|
||||
static_assert(false, "No is_same_pixel impl");
|
||||
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
|
||||
}
|
||||
|
||||
template<>
|
||||
|
Loading…
Reference in New Issue
Block a user