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

Commit a985b55

Browse files
authored
Correct the MessageChain::operator== function. (#132)
1 parent 6ba6cf0 commit a985b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MessageChain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace Cyan
8585
if (this->messages_.size() != mc.messages_.size()) return false;
8686
for (size_t i = 0; i < messages_.size(); ++i)
8787
{
88-
if (messages_[i] != mc.messages_[i]) return false;
88+
if (*messages_[i] != *mc.messages_[i]) return false;
8989
}
9090
return true;
9191
}
@@ -185,4 +185,4 @@ namespace Cyan
185185
}
186186

187187

188-
}
188+
}

0 commit comments

Comments
 (0)