smartie-sv
smartie-sv copied to clipboard
error: no match for ‘operator==’ (operand types are ‘std::basic_istream<char>’ and ‘int’)
Hi, I just want to report an issue which might be a bug. When I tried "make" in the fold, it gave me the following error message:
../common/datastructures/alignmentset/SAMAlignment.h:221:33: error: no match for ‘operator==’ (operand types are ‘std::basic_istream<char>’ and ‘int’) if ((strm >> typedKVPair) == 0) {
I spent several hours to fix this problem and finally made this error disappear. What I did was changing the line 221 in the file SAMAlignment.h to :
if (strm.get() == 0) {
I post it here just in case anyone without experience of C++ might have the same problem, this could save you some time.