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
1261088d
Commit
1261088d
authored
Dec 07, 2012
by
Michal 'vorner' Vaner
Browse files
[2377] Pass string by reference
It was obviously forgotten (and cppcheck complained).
parent
d5137a32
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/master_loader_unittest.cc
View file @
1261088d
...
...
@@ -48,7 +48,7 @@ public:
/// Concatenate file, line, and reason, and add it to either errors
/// or warnings
void
callback
(
vector
<
string
>*
target
,
const
std
::
string
&
file
,
size_t
line
,
const
std
::
string
reason
)
const
std
::
string
&
reason
)
{
std
::
stringstream
ss
;
ss
<<
reason
<<
" ["
<<
file
<<
":"
<<
line
<<
"]"
;
...
...
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