Remove HERE macro

Some cleanup.
Add location to some functions.
This commit is contained in:
Nekotekina 2020-12-09 18:04:52 +03:00
parent d25c401aec
commit 36c8654fb8
130 changed files with 969 additions and 889 deletions

View file

@ -98,7 +98,7 @@ namespace psf
return sizeof(u32);
}
fmt::throw_exception("Invalid format (0x%x)" HERE, m_type);
fmt::throw_exception("Invalid format (0x%x)", m_type);
}
registry load_object(const fs::file& stream)
@ -259,7 +259,7 @@ namespace psf
}
else
{
fmt::throw_exception("Invalid entry format (key='%s', fmt=0x%x)" HERE, entry.first, fmt);
fmt::throw_exception("Invalid entry format (key='%s', fmt=0x%x)", entry.first, fmt);
}
}
}