Commit cb7cfec1 authored by Davis King's avatar Davis King

changed to avoid a compiler error

parent fdc89507
...@@ -65,7 +65,7 @@ namespace dlib ...@@ -65,7 +65,7 @@ namespace dlib
> >
struct hrlh_helper struct hrlh_helper
{ {
typedef double type; typedef char type;
}; };
template <typename T> template <typename T>
...@@ -88,7 +88,7 @@ namespace dlib ...@@ -88,7 +88,7 @@ namespace dlib
}; };
template <typename T> template <typename T>
struct has_reject_labeling <T,typename dlib::enable_if_c<sizeof(dlib::impl::has_reject_labeling_helper<T>(2.2)) == 1 >::type > struct has_reject_labeling <T,typename dlib::enable_if_c<sizeof(dlib::impl::has_reject_labeling_helper<T>('a')) == 1 >::type >
{ {
static const bool value = true; static const bool value = true;
}; };
......
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