Skip to content
GitLab
Projects
Groups
Snippets
/
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
2c10fa49
Commit
2c10fa49
authored
Nov 28, 2012
by
Marcin Siodelski
Browse files
[2312] Add std namespace before distance.
If omitted the build fails on Solaris complaining that distance is unknown.
parent
c3e696cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/option_custom.cc
View file @
2c10fa49
...
...
@@ -334,8 +334,9 @@ std::string OptionCustom::toText(int indent) {
for
(
int
j
=
0
;
j
<
indent
+
2
;
++
j
)
{
tmp
<<
" "
;
}
tmp
<<
"#"
<<
distance
(
fields
.
begin
(),
field
)
<<
" "
<<
dataFieldToText
(
*
field
,
distance
(
fields
.
begin
(),
field
))
tmp
<<
"#"
<<
std
::
distance
(
fields
.
begin
(),
field
)
<<
" "
<<
dataFieldToText
(
*
field
,
std
::
distance
(
fields
.
begin
(),
field
))
<<
std
::
endl
;
}
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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