1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-05 08:26:28 +00:00

Ensure targets always nominate a machine.

This commit is contained in:
Thomas Harte
2020-03-15 00:13:38 -04:00
parent 36acc2dddd
commit f9c8470b20
26 changed files with 36 additions and 47 deletions

View File

@@ -139,7 +139,8 @@ template <typename Owner> class StructImpl: public Struct {
private:
struct Field {
const std::type_info *type;
ssize_t offset, size;
ssize_t offset;
size_t size;
Field(const std::type_info &type, ssize_t offset, size_t size) :
type(&type), offset(offset), size(size) {}
};