aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/COFFYaml.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Object/COFFYaml.h b/include/llvm/Object/COFFYaml.h
index f4732e2..25c4601 100644
--- a/include/llvm/Object/COFFYaml.h
+++ b/include/llvm/Object/COFFYaml.h
@@ -40,10 +40,8 @@ namespace COFFYAML {
/// string. Using this avoid having to allocate temporary strings.
/// FIXME: not COFF specific.
class BinaryRef {
- union {
- ArrayRef<uint8_t> BinaryData;
- StringRef HexData;
- };
+ ArrayRef<uint8_t> BinaryData;
+ StringRef HexData;
bool isBinary;
public:
BinaryRef(ArrayRef<uint8_t> BinaryData)