Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
68454bf1
Commit
68454bf1
authored
Jan 16, 2017
by
LEFEBVREJP email
Browse files
Fixed pass by value std::string.
parent
9d14ef59
Changes
2
Hide whitespace changes
Inline
Side-by-side
radixio/hcdump.cc
View file @
68454bf1
...
...
@@ -350,7 +350,7 @@ void HCDump::reload()
radix_line
(
"Total mass: "
<<
total
);
}
HCDump
::
HCDump
(
const
std
::
string
path
)
HCDump
::
HCDump
(
const
std
::
string
&
path
)
:
mPath
(
path
)
{
reload
();
...
...
radixio/hcdump.hh
View file @
68454bf1
...
...
@@ -89,7 +89,7 @@ private:
public:
HCDump
(
const
std
::
string
path
);
HCDump
(
const
std
::
string
&
path
);
void
reload
();
std
::
string
id
()
const
;
void
setId
(
const
std
::
string
&
id
);
...
...
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