mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 04:47:41 +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:
@@ -100,7 +100,7 @@ void experiment() {
|
||||
println(hlog, "found: ", tie(ia, ib));
|
||||
|
||||
for(auto& row: jms[ia]) {
|
||||
for(auto& i: row) print(hlog, format("%2d, ", i));
|
||||
for(auto& i: row) print(hlog, hr::format("%2d, ", i));
|
||||
println(hlog);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user