hi,
I have a problem when building with GCC 6.3
g++ -c -O3 -Ibamtools/src repeatseq.cpp
repeatseq.cpp: In function 'bool fileCheck(std::__cxx11::string)':
repeatseq.cpp:1398:9: error: cannot convert 'std::ifstream {aka std::basic_ifstream}' to 'bool' in return
return ifile;
^~~~~
How can I fix the error?
Thanks
hi, I have a problem when building with GCC 6.3 g++ -c -O3 -Ibamtools/src repeatseq.cpp repeatseq.cpp: In function 'bool fileCheck(std::__cxx11::string)': repeatseq.cpp:1398:9: error: cannot convert 'std::ifstream {aka std::basic_ifstream}' to 'bool' in return
return ifile;
^~~~~
How can I fix the error?
Thanks