aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-05-27 09:01:44 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-05-27 09:01:46 -0400
commit76e2cded477bc483ec610212bdadf21fe35292d4 (patch)
tree1079dae4145de0b83a06525ed9acd0157508a06f /src/qt/forms
parent8ab4f282c06d67074b872dbda0be37636fdd5186 (diff)
parentae7faf20d5fb3e2415ccadc37100dfc44aa0cd94 (diff)
Merge #16095: Catch by reference not value in wallettool
ae7faf20d5 Exceptions should be caught by reference, not by value. (Kristaps Kaupe) Pull request description: Fixes this warning with GCC8/GCC9: ``` wallet/wallettool.cpp: In function ‘std::shared_ptr<CWallet> WalletTool::LoadWallet(const string&, const boost::filesystem::path&)’: wallet/wallettool.cpp:62:25: warning: catching polymorphic type ‘const class std::runtime_error’ by value [-Wcatch-value=] } catch (const std::runtime_error) { ^~~~~~~~~~~~~ ``` Related to #15822. ACKs for commit ae7faf: practicalswift: utACK ae7faf20d5fb3e2415ccadc37100dfc44aa0cd94 Tree-SHA512: 07eb774b3296c0b66ac5040269bff6cd8ba0294c8c95cc08c595efbd535260ff0010fa430ca057eeccd7b38c0a981a3d7a95b675d9e2996853c013dc0bfe8127
Diffstat (limited to 'src/qt/forms')
0 files changed, 0 insertions, 0 deletions