mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-28 08:22:31 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -2194,6 +2194,6 @@ GameData::GameData(const GameId &id, const uint64 &accessHash, const QString &sh
|
||||
|
||||
MsgId clientMsgId() {
|
||||
static MsgId currentClientMsgId = StartClientMsgId;
|
||||
t_assert(currentClientMsgId < EndClientMsgId);
|
||||
Assert(currentClientMsgId < EndClientMsgId);
|
||||
return currentClientMsgId++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user