diff options
author | Jakub Staszak <kubastaszak@gmail.com> | 2013-01-10 21:02:05 +0000 |
---|---|---|
committer | Jakub Staszak <kubastaszak@gmail.com> | 2013-01-10 21:02:05 +0000 |
commit | ff5ed5e2b48eeef3e17ba48f0820a4b6b7b7e779 (patch) | |
tree | 30915fc2db46402740f14f4a7c1badd167c5bc95 /unittests | |
parent | 9b1f44b147ff943729207be2b0509f6e53d62bbb (diff) |
Unbreak tests after regression from r172081.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/YAMLIOTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Support/YAMLIOTest.cpp b/unittests/Support/YAMLIOTest.cpp index a39fbebf29..0d6e3a0352 100644 --- a/unittests/Support/YAMLIOTest.cpp +++ b/unittests/Support/YAMLIOTest.cpp @@ -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)); } } }; |