Codechange: use std::source_location over __FILE__ and __LINE__ for Backup
This commit is contained in:
@@ -86,7 +86,7 @@ static void CleanupGeneration()
|
||||
static void _GenerateWorld()
|
||||
{
|
||||
/* Make sure everything is done via OWNER_NONE. */
|
||||
Backup<CompanyID> _cur_company(_current_company, OWNER_NONE, FILE_LINE);
|
||||
Backup<CompanyID> _cur_company(_current_company, OWNER_NONE);
|
||||
|
||||
try {
|
||||
_generating_world = true;
|
||||
|
Reference in New Issue
Block a user