mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-06 12:27:57 +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:
@@ -456,7 +456,7 @@ public class HyperRogue extends Activity implements SensorEventListener {
|
||||
@Override
|
||||
public boolean onError(MediaPlayer mp, int what, int extra)
|
||||
{
|
||||
/* Toast.makeText(getApplicationContext(), String.format("Error(%s%s)", what, extra),
|
||||
/* Toast.makeText(getApplicationContext(), String.hr::format("Error(%s%s)", what, extra),
|
||||
Toast.LENGTH_SHORT).show(); */
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user