mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -501,7 +501,7 @@ Voice::Voice(DocumentData *voice, HistoryItem *parent, const style::OverviewFile
|
||||
, _st(st) {
|
||||
AddComponents(Info::Bit());
|
||||
|
||||
t_assert(_data->voice() != 0);
|
||||
Assert(_data->voice() != 0);
|
||||
|
||||
setDocumentLinks(_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user