Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
2c54e9c5
Commit
2c54e9c5
authored
Feb 12, 2011
by
Michal 'vorner' Vaner
Browse files
[trac505] Make max_len const
parent
49e2c1ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/tests/query_unittest.cc
View file @
2c54e9c5
...
...
@@ -667,7 +667,7 @@ TEST_F(QueryTest, MaxLenDNAME) {
* directly inside ASSERT_EQ, it fails to link and complains
* it is unresolved external?
*/
size_t
max_len
(
Name
::
MAX_WIRE
);
const
size_t
max_len
(
Name
::
MAX_WIRE
);
ASSERT_EQ
(
max_len
,
dynamic_cast
<
const
rdata
::
generic
::
CNAME
&>
(
ci
->
getCurrent
()).
getCname
().
getLength
());
}
...
...
Write
Preview
Supports
Markdown
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