mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 09:55:24 +00:00
Strict alignment request for base::lambda. Various improvements.
This commit is contained in:
@@ -31,7 +31,7 @@ SingleTimer::SingleTimer() {
|
||||
}
|
||||
}
|
||||
|
||||
void SingleTimer::setTimeoutHandler(base::lambda_unique<void()> &&handler) {
|
||||
void SingleTimer::setTimeoutHandler(base::lambda<void()> &&handler) {
|
||||
if (_handler && !handler) {
|
||||
disconnect(this, SIGNAL(timeout()), this, SLOT(onTimeout()));
|
||||
} else if (handler && !_handler) {
|
||||
|
||||
Reference in New Issue
Block a user