mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 13:44:16 +01:00
Codechange: Use emplace_back instead of push_back. (#13855)
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
* @param format_string The formatting string of the message.
|
||||
*/
|
||||
#define Debug(category, level, format_string, ...) do { if ((level) == 0 || _debug_ ## category ## _level >= (level)) DebugPrint(#category, level, fmt::format(FMT_STRING(format_string) __VA_OPT__(,) __VA_ARGS__)); } while (false)
|
||||
void DebugPrint(const char *category, int level, const std::string &message);
|
||||
void DebugPrint(const char *category, int level, std::string &&message);
|
||||
|
||||
extern int _debug_driver_level;
|
||||
extern int _debug_grf_level;
|
||||
|
||||
Reference in New Issue
Block a user