mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
Qualify calls to format
C++20 introduces `std::format` and we `using namespace std`, so some of these would be ambiguous in C++20.
This commit is contained in:
1 parent
a250a4d430
commit
ced3bbcad4
41 files changed
+101
-101
No files matched your search
+1
-1
@@ -470,7 +470,7 @@ EX namespace history {
|
||||
auto save_band_segment = [&] {
|
||||
string fname = name_format;
|
||||
replace_str(fname, "$DATE", timebuf);
|
||||
replace_str(fname, "$ID", format("%03d", segid++));
|
||||
replace_str(fname, "$ID", hr::format("%03d", segid++));
|
||||
IMAGESAVE(band, fname.c_str());
|
||||
|
||||
if(dospiral)
|
||||
|
||||
Reference in new issue
Block a user