Apple Xcode now gives -Wdeprecated-declarations on any attempt to use sprintf. Which is silly, but also easy to fix.
C++20 adds std::format, which will ambiguate unqualified calls to hr::format. Add the qualification everywhere.
No intended functional change (although the calls to hr::formatdo perform more memory allocations than the old raw s[n]printf calls did).
Apple Xcode now gives
-Wdeprecated-declarations
on any attempt to usesprintf
. Which is silly, but also easy to fix. C++20 addsstd::format
, which will ambiguate unqualified calls tohr::format
. Add the qualification everywhere. No intended functional change (although the calls tohr::format
do perform more memory allocations than the old raws[n]printf
calls did).