aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
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/main.h
parent466f0ea0e66b88285c7797ab36ba777725324e83 (diff)
downloadbitcoin-a9ac95c1bc67726a7d6eecb35d7650eed6c89361.tar.xz
use const references where appropriate
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 669ea7128a..abaedae207 100644
--- a/src/main.h
+++ b/src/main.h
@@ -190,7 +190,7 @@ void PartitionCheck(bool (*initialDownloadCheck)(), CCriticalSection& cs, const
/** Check whether we are doing an initial block download (synchronizing from disk or network) */
bool IsInitialBlockDownload();
/** Format a string that describes several potential problems detected by the core */
-std::string GetWarnings(std::string strFor);
+std::string GetWarnings(const std::string& strFor);
/** Retrieve a transaction (from memory pool, or from disk, if possible) */
bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow = false);
/** Find the best known block, and make it the tip of the block chain */