Use ctor instead of initializer list to appease Windows buildbots

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Samsonov 2014-03-14 10:37:36 +00:00
parent b98e0c4da5
commit 89ca7b3e36
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ DWARFAbbreviationDeclaration::extract(DataExtractor Data, uint32_t* OffsetPtr) {
}
if (Attr == 0 && Form == 0)
break;
AttributeSpecs.push_back(AttributeSpec{Attr, Form});
AttributeSpecs.push_back(AttributeSpec(Attr, Form));
}
if (Tag == 0) {

View File

@ -23,6 +23,7 @@ class DWARFAbbreviationDeclaration {
bool HasChildren;
struct AttributeSpec {
AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {}
uint16_t Attr;
uint16_t Form;
};