1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

Avoid braced initialization for default member initializers for MSVC 2013

llvm-svn: 283928
This commit is contained in:
Reid Kleckner 2016-10-11 20:02:57 +00:00
parent 7430f50b4d
commit 01e7d754c4
2 changed files with 2 additions and 3 deletions

View File

@ -101,8 +101,7 @@ private:
msf::WritableStreamRef NamesBuffer;
msf::MutableByteStream ModInfoBuffer;
msf::MutableByteStream FileInfoBuffer;
llvm::SmallVector<DebugStream, (int)DbgHeaderType::Max> DbgStreams{
(int)DbgHeaderType::Max};
llvm::SmallVector<DebugStream, (int)DbgHeaderType::Max> DbgStreams;
};
}
}

View File

@ -28,7 +28,7 @@ class ModiSubstreamBuilder {};
DbiStreamBuilder::DbiStreamBuilder(msf::MSFBuilder &Msf)
: Msf(Msf), Allocator(Msf.getAllocator()), Age(1), BuildNumber(0),
PdbDllVersion(0), PdbDllRbld(0), Flags(0), MachineType(PDB_Machine::x86),
Header(nullptr) {}
Header(nullptr), DbgStreams((int)DbgHeaderType::Max) {}
void DbiStreamBuilder::setVersionHeader(PdbRaw_DbiVer V) { VerHeader = V; }