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:
@@ -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) {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user