mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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.
|
/// string. Using this avoid having to allocate temporary strings.
|
||||||
/// FIXME: not COFF specific.
|
/// FIXME: not COFF specific.
|
||||||
class BinaryRef {
|
class BinaryRef {
|
||||||
union {
|
ArrayRef<uint8_t> BinaryData;
|
||||||
ArrayRef<uint8_t> BinaryData;
|
StringRef HexData;
|
||||||
StringRef HexData;
|
|
||||||
};
|
|
||||||
bool isBinary;
|
bool isBinary;
|
||||||
public:
|
public:
|
||||||
BinaryRef(ArrayRef<uint8_t> BinaryData)
|
BinaryRef(ArrayRef<uint8_t> BinaryData)
|
||||||
|
Loading…
Reference in New Issue
Block a user