summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/BitFieldTest.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-01-05 14:27:27 -0500
committerGitHub <noreply@github.com>2017-01-05 14:27:27 -0500
commit495580637ffd8b847d7df43f60bf0d8ccc65b3ba (patch)
tree14b8ceb1204b4839c453a08f407b4395b70e3d51 /Source/UnitTests/Common/BitFieldTest.cpp
parent9da6982ac30bec46f29530d07f86766dd44236bf (diff)
parent23d99f2f2c6f3e16dce2371141702d07bef40e95 (diff)
Merge pull request #4606 from BhaaLseN/clang-format-union
specify custom brace style to fix unions
Diffstat (limited to 'Source/UnitTests/Common/BitFieldTest.cpp')
-rw-r--r--Source/UnitTests/Common/BitFieldTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/BitFieldTest.cpp b/Source/UnitTests/Common/BitFieldTest.cpp
index 5c7e4a0ccf..d63d860d82 100644
--- a/Source/UnitTests/Common/BitFieldTest.cpp
+++ b/Source/UnitTests/Common/BitFieldTest.cpp
@@ -7,7 +7,8 @@
#include "Common/BitField.h"
#include "Common/CommonTypes.h"
-union TestUnion {
+union TestUnion
+{
u64 hex;
BitField<0, 64, u64> full_u64; // spans whole storage