Replace t_assert() with Assert().

Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
John Preston
2017-08-17 12:06:26 +03:00
parent b3da99c302
commit 25ffaaaa2d
107 changed files with 492 additions and 435 deletions
+1 -1
View File
@@ -1452,7 +1452,7 @@ namespace {
} else if (peerIsChannel(id)) {
newData = new ChannelData(id);
}
t_assert(newData != nullptr);
Assert(newData != nullptr);
newData->input = MTPinputPeer(MTP_inputPeerEmpty());
i = peersData.insert(id, newData);