diff options
| author | Philip Kaufmann <[email protected]> | 2015-10-27 17:39:42 +0100 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2015-10-27 17:39:42 +0100 |
| commit | ad5aae15b40dcbdbfc08221e615f06b030b92334 (patch) | |
| tree | 731356d063c6e597c24b9a877e8f9dcff92af31e /src/bitcoin-cli.cpp | |
| parent | Merge pull request #6464 (diff) | |
| download | discoin-ad5aae15b40dcbdbfc08221e615f06b030b92334.tar.xz discoin-ad5aae15b40dcbdbfc08221e615f06b030b92334.zip | |
constify missing catch cases
- ensure all missing catch cases are constant where possible
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 6f22c7049..956457365 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -94,7 +94,7 @@ static bool AppInitRPC(int argc, char* argv[]) // Check for -testnet or -regtest parameter (BaseParams() calls are only valid after this clause) try { SelectBaseParams(ChainNameFromCommandLine()); - } catch(std::exception &e) { + } catch (const std::exception& e) { fprintf(stderr, "Error: %s\n", e.what()); return false; } |