Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
b13840a8
Commit
b13840a8
authored
Jan 29, 2020
by
Davis King
Browse files
Fixed code needing C++14 to use C++11 features instead.
parent
46bcd205
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation.h
+1
-1
No files found.
dlib/image_transforms/interpolation.h
View file @
b13840a8
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment