diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-10-27 17:39:42 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-10-27 17:39:42 +0100 |
commit | ad5aae15b40dcbdbfc08221e615f06b030b92334 (patch) | |
tree | 731356d063c6e597c24b9a877e8f9dcff92af31e /src/bitcoin-tx.cpp | |
parent | 8f3b3cdee497b8a1d7c6a7279e7bb13435527b60 (diff) |
constify missing catch cases
- ensure all missing catch cases are constant where possible
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 3330fe5d12..48033cd8ad 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -37,7 +37,7 @@ static bool AppInitRawTx(int argc, char* argv[]) // Check for -testnet or -regtest parameter (Params() calls are only valid after this clause) try { SelectParams(ChainNameFromCommandLine()); - } catch(std::exception &e) { + } catch (const std::exception& e) { fprintf(stderr, "Error: %s\n", e.what()); return false; } |