diff options
| author | Pieter Wuille <[email protected]> | 2015-10-28 02:31:22 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-10-28 02:34:09 +0100 |
| commit | 8daffe227bc67706d6640b67776f7711a6a98607 (patch) | |
| tree | 8a5df80256d7a19cae49e483d3f087849cdb0e9e /src/bitcoin-cli.cpp | |
| parent | Merge pull request #6892 (diff) | |
| parent | constify missing catch cases (diff) | |
| download | discoin-8daffe227bc67706d6640b67776f7711a6a98607.tar.xz discoin-8daffe227bc67706d6640b67776f7711a6a98607.zip | |
Merge pull request #6891
ad5aae1 constify missing catch cases (Philip Kaufmann)
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; } |