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
a81fd0c6
"docs/_tutorials/model-compression.md" did not exist on "1b2721adcd96656bb1f27d1f2f60947567b2d505"
Commit
a81fd0c6
authored
Aug 23, 2019
by
Thomas Peters
Committed by
Davis E. King
Aug 23, 2019
Browse files
don't cast away constness (#1865)
parent
e8d24076
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/image_processing/generic_image.h
dlib/image_processing/generic_image.h
+2
-2
No files found.
dlib/image_processing/generic_image.h
View file @
a81fd0c6
...
...
@@ -186,7 +186,7 @@ namespace dlib
image_view
(
image_type
&
img
)
:
_data
(
(
char
*
)
image_data
(
img
)),
_data
(
reinterpret_cast
<
char
*
>
(
image_data
(
img
))
)
,
_width_step
(
width_step
(
img
)),
_nr
(
num_rows
(
img
)),
_nc
(
num_columns
(
img
)),
...
...
@@ -332,7 +332,7 @@ namespace dlib
const_image_view
(
const
image_type
&
img
)
:
_data
(
(
char
*
)
image_data
(
img
)),
_data
(
reinterpret_cast
<
const
char
*
>
(
image_data
(
img
))
)
,
_width_step
(
width_step
(
img
)),
_nr
(
num_rows
(
img
)),
_nc
(
num_columns
(
img
))
...
...
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