diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-05-31 15:36:44 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-06-04 19:34:18 +0200 |
commit | a9ac95c1bc67726a7d6eecb35d7650eed6c89361 (patch) | |
tree | ba9b43d9b01e925d2050d7084a11aec927a2d564 /src/utilstrencodings.h | |
parent | 466f0ea0e66b88285c7797ab36ba777725324e83 (diff) |
use const references where appropriate
Diffstat (limited to 'src/utilstrencodings.h')
-rw-r--r-- | src/utilstrencodings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilstrencodings.h b/src/utilstrencodings.h index fb3ef04281..58329b51bb 100644 --- a/src/utilstrencodings.h +++ b/src/utilstrencodings.h @@ -88,11 +88,11 @@ inline std::string HexStr(const T& vch, bool fSpaces=false) return HexStr(vch.begin(), vch.end(), fSpaces); } -/** +/** * Format a paragraph of text to a fixed width, adding spaces for * indentation to any added line. */ -std::string FormatParagraph(const std::string in, size_t width=79, size_t indent=0); +std::string FormatParagraph(const std::string& in, size_t width = 79, size_t indent = 0); /** * Timing-attack-resistant comparison. |