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
89bb2d45
".github/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "b28d480f1a58fa71f7882bac3a13f4ad35df650b"
Commit
89bb2d45
authored
Oct 31, 2013
by
Davis King
Browse files
Changed tests slightly to avoid a bug in gcc 4.8
parent
eb676bf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/test/queue.cpp
dlib/test/queue.cpp
+1
-1
dlib/test/stack.cpp
dlib/test/stack.cpp
+1
-1
No files found.
dlib/test/queue.cpp
View file @
89bb2d45
...
@@ -354,7 +354,7 @@ namespace
...
@@ -354,7 +354,7 @@ namespace
for
(
int
i
=
0
;
i
<
100
;
++
i
)
for
(
int
i
=
0
;
i
<
100
;
++
i
)
{
{
int
a
=
9
;
int
a
=
9
;
go
.
remove_any
(
a
);
q
.
remove_any
(
a
);
DLIB_TEST
(
a
==
3
);
DLIB_TEST
(
a
==
3
);
}
}
DLIB_TEST
(
go
.
size
()
==
0
);
DLIB_TEST
(
go
.
size
()
==
0
);
...
...
dlib/test/stack.cpp
View file @
89bb2d45
...
@@ -260,7 +260,7 @@ namespace
...
@@ -260,7 +260,7 @@ namespace
for
(
int
i
=
0
;
i
<
100
;
++
i
)
for
(
int
i
=
0
;
i
<
100
;
++
i
)
{
{
int
a
=
9
;
int
a
=
9
;
go
.
remove_any
(
a
);
a1
.
remove_any
(
a
);
DLIB_TEST
(
a
==
3
);
DLIB_TEST
(
a
==
3
);
}
}
DLIB_TEST
(
go
.
size
()
==
0
);
DLIB_TEST
(
go
.
size
()
==
0
);
...
...
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