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/core_io.h | |
parent | 466f0ea0e66b88285c7797ab36ba777725324e83 (diff) |
use const references where appropriate
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h index 0989cf7437..115e3199dc 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -15,7 +15,7 @@ class uint256; class UniValue; // core_read.cpp -extern CScript ParseScript(std::string s); +extern CScript ParseScript(const std::string& s); extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx); extern bool DecodeHexBlk(CBlock&, const std::string& strHexBlk); extern uint256 ParseHashUV(const UniValue& v, const std::string& strName); |