mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 22:18:30 +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>
|
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, "No is_same_pixel impl");
|
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
Loading…
Reference in New Issue
Block a user