Use the new macro COMPILE_TIME_ASSERT() instead of several assert().

committer: mfx <mfx> 978092937 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-29 12:28:57 +00:00
parent f4d2287e57
commit 85920ea8b1
11 changed files with 61 additions and 39 deletions
+6
View File
@@ -41,6 +41,12 @@ static const
//
**************************************************************************/
PackTmt::PackTmt(InputFile *f) : super(f)
{
COMPILE_TIME_ASSERT(sizeof(tmt_header_t) == 44);
}
int PackTmt::getCompressionMethod() const
{
if (M_IS_NRV2B(opt->method))