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

This commit is contained in:
Davis King 2020-01-29 07:30:59 -05:00
parent 46bcd2059e
commit b13840a86f
1 changed files with 1 additions and 1 deletions

View File

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