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

Commit

Permalink
Correct the MessageChain::operator== function. (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanray authored Jan 7, 2022
1 parent 6ba6cf0 commit a985b55
Showing 1 changed file with 2 additions and 2 deletions.
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
}


}
}

0 comments on commit a985b55

Please sign in to comment.