We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dedd4c commit 234d654Copy full SHA for 234d654
src/DVIToSVG.cpp
@@ -576,7 +576,7 @@ void DVIToSVG::HashSettings::setParameters (const string ¶mstr) {
576
_algo = name;
577
else if (!name.empty()) {
578
string msg = "invalid hash parameter '" + name + "' (supported algorithms: ";
579
- for (string str: HashFunction::supportedAlgorithms())
+ for (const string &str: HashFunction::supportedAlgorithms())
580
msg += str + ", ";
581
msg.pop_back();
582
msg.back() = ')';
0 commit comments