diff options
| author | Philip Kaufmann <[email protected]> | 2015-05-31 15:36:44 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2015-06-04 19:34:18 +0200 |
| commit | a9ac95c1bc67726a7d6eecb35d7650eed6c89361 (patch) | |
| tree | ba9b43d9b01e925d2050d7084a11aec927a2d564 /src/main.h | |
| parent | Merge pull request #6121 (diff) | |
| download | discoin-a9ac95c1bc67726a7d6eecb35d7650eed6c89361.tar.xz discoin-a9ac95c1bc67726a7d6eecb35d7650eed6c89361.zip | |
use const references where appropriate
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 669ea7128..abaedae20 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 */ |