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
ISC Open Source Projects
Kea
Commits
43aafb67
Commit
43aafb67
authored
Jun 24, 2015
by
Francis Dupont
Browse files
[3919] Changed size > 0 by !empty
parent
b0958885
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/perfdhcp/tests/command_options_unittest.cc
View file @
43aafb67
...
...
@@ -785,7 +785,7 @@ TEST_F(CommandOptionsTest, Interface) {
// The local loopback interface should be available.
// If no interface have been found for any reason we should
// not fail this test.
if
(
ifaces
.
size
()
>
0
)
{
if
(
!
ifaces
.
empty
()
)
{
// Get the name of the interface we detected.
iface_name
=
(
*
ifaces
.
begin
())
->
getName
();
// Use the name in the command parser.
...
...
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