genome / joinx

a tool for processing .bed and .vcf files
21 stars 11 forks source link

Explicitly convert istream returned from getline() to bool #16

Open Falcury opened 7 years ago

Falcury commented 7 years ago

Implicit conversion to bool caused build errors when compiling with GCC 5.4.0. The reason, if I understand correctly, is that C++11 requires that operator bool() is only usable explicitly (unlike in earlier versions of C++).

Also see issue #13