mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -748,8 +748,8 @@ int palette::indexOfColor(style::color c) const {\n\
|
||||
}\n\
|
||||
\n\
|
||||
color palette::colorAtIndex(int index) const {\n\
|
||||
t_assert(_ready);\n\
|
||||
t_assert(index >= 0 && index < kCount);\n\
|
||||
Assert(_ready);\n\
|
||||
Assert(index >= 0 && index < kCount);\n\
|
||||
return _colors[index];\n\
|
||||
}\n\
|
||||
\n\
|
||||
|
||||
Reference in New Issue
Block a user