From ef122dabbc64b245fa9bfc314516207757fbed89 Mon Sep 17 00:00:00 2001 From: Mikael Salson Date: Fri, 7 Nov 2014 19:04:18 +0100 Subject: [PATCH] fasta.cpp: Use gzstream everywhere --- algo/core/fasta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algo/core/fasta.cpp b/algo/core/fasta.cpp index 8a4c9f4c4..5473bed9e 100644 --- a/algo/core/fasta.cpp +++ b/algo/core/fasta.cpp @@ -59,7 +59,7 @@ void Fasta::add(istream &in, bool verbose) { } void Fasta::add(const string &filename, bool verbose) { - ifstream is(filename.c_str()); + igzstream is(filename.c_str()); if (is.fail()) { throw invalid_argument(" !! Error in opening file: "+ filename); -- GitLab