mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
make all catch() arguments const
- I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
This commit is contained in:
parent
851dfc7f88
commit
27df4123c4
24 changed files with 78 additions and 82 deletions
|
|
@ -565,7 +565,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (boost::thread_interrupted)
|
||||
catch (const boost::thread_interrupted&)
|
||||
{
|
||||
LogPrintf("BitcoinMiner terminated\n");
|
||||
throw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue