| 255 | } |
| 256 | |
| 257 | void StructDef::calculateLength() |
| 258 | { |
| 259 | if (!m_fields.isEmpty()) |
| 260 | m_length = static_cast<u32>( |
| 261 | fmax(m_fields.last()->getOffset() + m_fields.last()->getFieldSize(), m_length)); |
| 262 | } |
nothing calls this directly
no test coverage detected