update fix-list
This commit is contained in:
parent
f0129b03f9
commit
2c01ee6056
|
@ -128,11 +128,13 @@ void AbstractMessage::reset(uint64_t from, uint64_t to) {
|
|||
// ͨ¹ý WsMessage ¼Ì³Ð
|
||||
void AbstractMessage::recoveryFrom(const QJsonObject& obj) {
|
||||
from_to_recovery(_from_id, _to_id, obj);
|
||||
STRING_PEAK(this->_topic_string);
|
||||
}
|
||||
|
||||
void AbstractMessage::saveTo(QJsonObject& obj) const
|
||||
{
|
||||
from_to_save(_from_id, _to_id, obj);
|
||||
STRING_SAVE(this->_topic_string);
|
||||
}
|
||||
|
||||
QString AbstractMessage::topicString() const
|
||||
|
@ -165,8 +167,7 @@ void EntityTotalList::recoveryFrom(const QJsonObject& obj)
|
|||
QStringList strs;
|
||||
STRLIST_PEAK(strs);
|
||||
std::transform(strs.begin(), strs.end(),
|
||||
std::back_inserter(_entities_list),
|
||||
[](QString v) { return v.toULongLong(); });
|
||||
std::back_inserter(_entities_list), [](QString v) { return v.toULongLong(); });
|
||||
}
|
||||
|
||||
void EntityTotalList::saveTo(QJsonObject& obj) const
|
||||
|
@ -175,8 +176,7 @@ void EntityTotalList::saveTo(QJsonObject& obj) const
|
|||
|
||||
QStringList strs;
|
||||
std::transform(_entities_list.begin(), _entities_list.end(),
|
||||
std::back_inserter(strs),
|
||||
[](int v) { return QString(",").arg(v); });
|
||||
std::back_inserter(strs), [](int v) { return QString("%1").arg(v); });
|
||||
STRLIST_SAVE(strs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue