diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-04 08:44:07 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-04 08:47:16 +0200 |
commit | 2722a1f8e935df86e698d717a35e7ffef65e6e02 (patch) | |
tree | 424e8dbf2ff785f355afa7510b66ca83bffface2 /test/util | |
parent | f0149330d2f855e75f359d61ed9038f4fdc3f121 (diff) | |
parent | f41d339b781f41f05946e965da3e1bf5d0a9e50b (diff) | |
download | bitcoin-2722a1f8e935df86e698d717a35e7ffef65e6e02.tar.xz |
Merge #13383: bench: Use non-throwing ParseDouble(...) instead of throwing boost::lexical_cast<double>(...)
f41d339b781f41f05946e965da3e1bf5d0a9e50b bench: Use non-throwing ParseDouble(...) instead of throwing boost::lexical_cast<double>(...) (practicalswift)
Pull request description:
* Non-Boost is better than Boost.
* Non-throwing is better than throwing.
* Explicit error handling is better than implicit error handling.
* `ParseDouble(…)` deserves to be used outside of its unit tests :-)
Tree-SHA512: a8cf04a5f8363cb7ced0bcaf1fed00e1e5dd6a63a6c11e5f0ba4e5c845b0df7c2b050d887075f158cd62dc7e02843ecaafc15e42e383c066461c6d7399e06b49
Diffstat (limited to 'test/util')
0 files changed, 0 insertions, 0 deletions