Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no match for ‘operator==’ (operand types are ‘std::basic_istream<char>’ and ‘int’) #10

Open
carolynzy opened this issue Dec 3, 2020 · 0 comments

Comments

@carolynzy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant