Commit 68454bf1 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Fixed pass by value std::string.

parent 9d14ef59
......@@ -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();
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment