mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-01 15:30:16 +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:
@@ -1943,7 +1943,7 @@ EX void menuitem_sightrange(char c IS('c')) {
|
||||
else if(WDIM == 3)
|
||||
dialog::addSelItem(XLAT("sight range settings"), fts(sightranges[geometry]) + "au", c);
|
||||
else
|
||||
dialog::addSelItem(XLAT("sight range settings"), format("%+d", sightrange_bonus), c);
|
||||
dialog::addSelItem(XLAT("sight range settings"), hr::format("%+d", sightrange_bonus), c);
|
||||
dialog::add_action_push(edit_sightrange);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user