Commit 3d37c7ec authored by Mikaël Salson's avatar Mikaël Salson

Fasta: Use initialization list rather than affectation

parent 76e9f05e
......@@ -105,10 +105,9 @@ OnlineFasta::OnlineFasta(const string &input,
OnlineFasta::OnlineFasta(istream &input,
int extract_field, string extract_separator)
:extract_field(extract_field),
:input(&input), extract_field(extract_field),
extract_separator(extract_separator)
{
this->input = &input;
input_allocated = false;
init();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment