EXCEPTION macro removed

fmt::throw_exception<> implemented
::narrow improved
Minor fixes
This commit is contained in:
Nekotekina 2016-08-08 19:01:06 +03:00
parent 46735d6b3d
commit a7e808b35b
198 changed files with 3025 additions and 2956 deletions

View file

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