Strict alignment request for base::lambda. Various improvements.

This commit is contained in:
John Preston
2016-11-20 15:54:07 +03:00
parent 8a0c275658
commit e880c4876e
72 changed files with 278 additions and 265 deletions
+1 -1
View File
@@ -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) {