Fix static_assert() error on gcc and clang

This commit is contained in:
David Capello 2016-05-05 23:12:55 -03:00
parent ed14c56455
commit 20c78f32c6

View File

@ -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<>