mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Remove union to fix build in c++03.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05bc4a6f20
commit
0e07d1a93d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user