HomePhabricator

util: Update tinyformat

Description

util: Update tinyformat

Updates tinyformat.h to commit
https://github.com/c42f/tinyformat/commit/3a33bbf65442432277eee079e83d3e8fac51730c upstream.

Makes sure that our local changes are kept:

  • #3767 1b8fd35aadfad6a1e55391f02add6076c8c9ea8f Make tinyformat errors raise an exception instead of assert()ing
  • #4735 9b6d4c5cdc1ad7b12b8b7ba05125dad9ba2d396e Move strprintf define to tinyformat.h
  • #4748 6e5fd003e04b81115b6b164b21f048472d575535 include stdexcept (for std::exception)
  • #8000 9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305 force USE_VARIADIC_TEMPLATES
  • Add std::string format(const std::string &fmt... added this at the time, as we want to be able to do strprintf(_(...), ...)

Inspired by #8264.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jun 27 2016, 15:06
deadalnixPushed on May 14 2017, 22:04
Parents
rABC5a06ebbf2d5f: Merge #8258: RPC: Hide softfork if timeout is 0
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC695041e4952e: util: Update tinyformat (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Jun 27 2016, 16:17