Commit b13840a8 authored by Davis King's avatar Davis King
Browse files

Fixed code needing C++14 to use C++11 features instead.

parent 46bcd205
......@@ -1890,7 +1890,7 @@ namespace dlib
// If nearest-neighbor interpolation is wanted, then don't use an image pyramid.
constexpr bool image_pyramid_enabled = !std::is_same<
std::remove_const_t<std::remove_reference_t<decltype(interp)>>,
typename std::remove_const<typename std::remove_reference<decltype(interp)>::type>::type,
interpolate_nearest_neighbor
>::value;
......
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