mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Add more assertions to animations engine.
This commit is contained in:
@@ -36,12 +36,16 @@ void Basic::restart() {
|
||||
Expects(_started >= 0);
|
||||
|
||||
_started = crl::now();
|
||||
|
||||
Ensures(_started >= 0);
|
||||
}
|
||||
|
||||
void Basic::markStarted() {
|
||||
Expects(_started < 0);
|
||||
|
||||
_started = crl::now();
|
||||
|
||||
Ensures(_started >= 0);
|
||||
}
|
||||
|
||||
void Basic::markStopped() {
|
||||
|
||||
Reference in New Issue
Block a user