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

Commit a8837e5

Browse files
committed
更新: 完善 MessageChain 的运算符重载;
1 parent 826ae1a commit a8837e5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/message_chain.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ namespace Cyan
6666
return this->Plain(val);
6767
}
6868

69-
MessageChain& MessageChain::operator+=(const string& val)
70-
{
71-
return this->Plain(val);
72-
}
73-
7469
bool MessageChain::operator==(const MessageChain& mc) const
7570
{
7671
if (this->messages_.size() != mc.messages_.size()) return false;

0 commit comments

Comments
 (0)