- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4>..\\..\\..\\icestack\\reflow\\Flow.cxx(936): error : no operator "==" matches these operands
4> operand types are: const resip::Data == const resip::Data
4> if (candIt->mRemoteCandidate.getFoundation() == nominatedCandidatePair->mRemoteCandidate.getFoundation())
both functions return const resip::Data& not const resip::Data.
Also, rutil/Data.hxx included properly and operator== is declared in at least 2 places.
friend bool operator==(const resip::Data& lhs, const resip::Data& rhs); in the class definition
and
I also after trying to fight with this compiler added:
bool operator==(const Data& lhs, const Data& rhs);
All of course this is in the resip namespace, which at the top of the file is imported via:
using namespace resip;
Dan
4> operand types are: const resip::Data == const resip::Data
4> if (candIt->mRemoteCandidate.getFoundation() == nominatedCandidatePair->mRemoteCandidate.getFoundation())
both functions return const resip::Data& not const resip::Data.
Also, rutil/Data.hxx included properly and operator== is declared in at least 2 places.
friend bool operator==(const resip::Data& lhs, const resip::Data& rhs); in the class definition
and
I also after trying to fight with this compiler added:
bool operator==(const Data& lhs, const Data& rhs);
All of course this is in the resip namespace, which at the top of the file is imported via:
using namespace resip;
Dan
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be nice if you can help with testcase to reproduce the issue.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page