aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-10-28 02:31:22 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2015-10-28 02:34:09 +0100
commit8daffe227bc67706d6640b67776f7711a6a98607 (patch)
tree8a5df80256d7a19cae49e483d3f087849cdb0e9e /src/dbwrapper.h
parent4764f5db9d2c68e517fe2ba1d67dde39987a525c (diff)
parentad5aae15b40dcbdbfc08221e615f06b030b92334 (diff)
Merge pull request #6891
ad5aae1 constify missing catch cases (Philip Kaufmann)
Diffstat (limited to 'src/dbwrapper.h')
-rw-r--r--src/dbwrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbwrapper.h b/src/dbwrapper.h
index aa28767508..1d31ab8ae5 100644
--- a/src/dbwrapper.h
+++ b/src/dbwrapper.h
@@ -104,7 +104,7 @@ public:
try {
CDataStream ssKey(slKey.data(), slKey.data() + slKey.size(), SER_DISK, CLIENT_VERSION);
ssKey >> key;
- } catch(std::exception &e) {
+ } catch (const std::exception&) {
return false;
}
return true;
@@ -120,7 +120,7 @@ public:
CDataStream ssValue(slValue.data(), slValue.data() + slValue.size(), SER_DISK, CLIENT_VERSION);
ssValue.Xor(*obfuscate_key);
ssValue >> value;
- } catch(std::exception &e) {
+ } catch (const std::exception&) {
return false;
}
return true;