Calling constructor with more arguments from the one with less
@@ -41,14 +41,15 @@ namespace ebi
const std::string & reference_allele,
const std::string & alternate_allele,
RecordType alternate_allele_type
- ) : line_num(line_num),
- chromosome(chromosome),
- position(position),
- reference_allele(reference_allele),
- alternate_allele(alternate_allele),
- alternate_allele_type(alternate_allele_type)
+ ) : RecordCore("",
+ line_num,
+ chromosome,
+ position,
+ reference_allele,
+ alternate_allele,
+ alternate_allele_type)
+
{
- line = "";
}
/*
@@ -61,14 +62,14 @@ namespace ebi
const std::string & reference_allele,
const std::string & alternate_allele,
RecordType alternate_allele_type
- ) : RecordCore(line_num,
- chromosome,
- position,
- reference_allele,
- alternate_allele,
- alternate_allele_type)
+ ) : line(vcf_line),
+ line_num(line_num),
+ chromosome(chromosome),
+ position(position),
+ reference_allele(reference_allele),
+ alternate_allele(alternate_allele),
+ alternate_allele_type(alternate_allele_type)
{
- line = vcf_line;
}
/** A record "a" is less than another "b" iff:
