Commit 97151133 authored by Davis King's avatar Davis King

Changed to avoid linker errors on some compilers.

parent fcf211d9
......@@ -411,7 +411,7 @@ namespace dlib
constexpr static bool grayscale = false;
constexpr static bool hsi = false;
constexpr static bool lab = false;
constexpr static long num = 3;
enum { num = 3};
typedef unsigned char basic_pixel_type;
static basic_pixel_type min() { return 0;}
static basic_pixel_type max() { return 255;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment