mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix StructLayout::getNumber
This commit is contained in:
parent
35079d1b49
commit
dfb5baf79b
2 changed files with 4 additions and 1 deletions
|
|
@ -310,7 +310,8 @@ number_t StructLayout::getNumber(
|
|||
case FieldType::I64:
|
||||
case FieldType::CHAR:
|
||||
return getInteger(src, name, index);
|
||||
|
||||
default:
|
||||
throw std::runtime_error("type error");
|
||||
}
|
||||
throw std::runtime_error("type error");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue