mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 13:13:49 +01:00
use const references where appropriate
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user