aboutsummaryrefslogtreecommitdiff
path: root/src/utilstrencodings.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-05-31 15:36:44 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-06-04 19:34:18 +0200
commita9ac95c1bc67726a7d6eecb35d7650eed6c89361 (patch)
treeba9b43d9b01e925d2050d7084a11aec927a2d564 /src/utilstrencodings.cpp
parent466f0ea0e66b88285c7797ab36ba777725324e83 (diff)
use const references where appropriate
Diffstat (limited to 'src/utilstrencodings.cpp')
-rw-r--r--src/utilstrencodings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilstrencodings.cpp b/src/utilstrencodings.cpp
index b10f3c5903..7d1de7d6a8 100644
--- a/src/utilstrencodings.cpp
+++ b/src/utilstrencodings.cpp
@@ -471,7 +471,7 @@ bool ParseDouble(const std::string& str, double *out)
return endp && *endp == 0 && !errno;
}
-std::string FormatParagraph(const std::string in, size_t width, size_t indent)
+std::string FormatParagraph(const std::string& in, size_t width, size_t indent)
{
std::stringstream out;
size_t col = 0;