Fix a serious compiler warning

Program returns random data in a function
This commit is contained in:
Matthias Mailänder 2016-05-21 19:41:43 +02:00
parent d371352526
commit 5e62983251

View File

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