Skip to content

Commit 234d654

Browse files
committed
replaced copy with reference
1 parent 9dedd4c commit 234d654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DVIToSVG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ void DVIToSVG::HashSettings::setParameters (const string &paramstr) {
576576
_algo = name;
577577
else if (!name.empty()) {
578578
string msg = "invalid hash parameter '" + name + "' (supported algorithms: ";
579-
for (string str: HashFunction::supportedAlgorithms())
579+
for (const string &str: HashFunction::supportedAlgorithms())
580580
msg += str + ", ";
581581
msg.pop_back();
582582
msg.back() = ')';

0 commit comments

Comments
 (0)