Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Correctly implement the MessageChain::operator== function. #132

Merged
merged 1 commit into from
Jan 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/MessageChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace Cyan
if (this->messages_.size() != mc.messages_.size()) return false;
for (size_t i = 0; i < messages_.size(); ++i)
{
if (messages_[i] != mc.messages_[i]) return false;
if (*messages_[i] != *mc.messages_[i]) return false;
}
return true;
}
Expand Down Expand Up @@ -185,4 +185,4 @@ namespace Cyan
}


}
}