mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-24 10:07:48 +00:00
Unbreak tests after regression from r172081.
llvm-svn: 172105
This commit is contained in:
parent
0aeb60d79d
commit
6a3ef9c094
@ -789,11 +789,13 @@ namespace yaml {
|
||||
AFlags aflags;
|
||||
memcpy(&aflags, &kf.flags, sizeof(aflags));
|
||||
io.mapRequired("flags", aflags);
|
||||
memcpy(&kf.flags, &aflags, sizeof(kf.flags));
|
||||
}
|
||||
else {
|
||||
BFlags bflags;
|
||||
memcpy(&bflags, &kf.flags, sizeof(bflags));
|
||||
io.mapRequired("flags", bflags);
|
||||
memcpy(&kf.flags, &bflags, sizeof(kf.flags));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user