Revert "[clang-tidy] Replace C style casts with C++ ones"

This reverts commit 13e1bf7204.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent 364b4ea8bd
commit c43a513158
14 changed files with 86 additions and 86 deletions

View File

@@ -471,7 +471,7 @@ void Hooks::assertNTasks (
{
if (input.size () != n)
{
Context::getContext ().error (format (STRING_HOOK_ERROR_BAD_NUM, n, static_cast<int>(input.size ()), Path (script).name ()));
Context::getContext ().error (format (STRING_HOOK_ERROR_BAD_NUM, n, (int) input.size (), Path (script).name ()));
throw 0;
}
}