Try to get rid of SIZE_32 macro

This commit is contained in:
Nekotekina
2018-09-03 18:46:14 +03:00
parent 7bccdbf157
commit ce4c4696dd
18 changed files with 82 additions and 87 deletions

View File

@@ -92,7 +92,7 @@ namespace psf
return std::min(m_max_size, ::narrow<u32>(m_value_string.size() + (m_type == format::string)));
case format::integer:
return SIZE_32(u32);
return sizeof(u32);
}
fmt::throw_exception("Invalid format (0x%x)" HERE, m_type);