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
1c1f0e67
Commit
1c1f0e67
authored
Sep 17, 2014
by
Davis King
Browse files
Minor changes to avoid compiler warnings.
parent
ad3802d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/image_processing/shape_predictor.h
dlib/image_processing/shape_predictor.h
+1
-1
dlib/image_transforms/draw.h
dlib/image_transforms/draw.h
+1
-1
No files found.
dlib/image_processing/shape_predictor.h
View file @
1c1f0e67
...
...
@@ -711,7 +711,7 @@ namespace dlib
{
using
namespace
impl
;
std
::
deque
<
std
::
pair
<
unsigned
long
,
unsigned
long
>
>
parts
;
parts
.
push_back
(
std
::
make_pair
(
0
,
samples
.
size
()));
parts
.
push_back
(
std
::
make_pair
(
0
,
(
unsigned
long
)
samples
.
size
()));
impl
::
regression_tree
tree
;
...
...
dlib/image_transforms/draw.h
View file @
1c1f0e67
...
...
@@ -215,7 +215,7 @@ namespace dlib
unsigned
int
thickness
)
{
for
(
int
i
=
0
;
i
<
thickness
;
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
thickness
;
++
i
)
{
if
((
i
%
2
)
==
0
)
draw_rectangle
(
c
,
shrink_rect
(
rect
,(
i
+
1
)
/
2
),
val
);
...
...
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