Pass {Duration,TimePoint} by const ref if possible

This commit is contained in:
Bruno de Oliveira Abinader
2015-07-13 15:15:50 +03:00
parent 7d8b4dc6c0
commit 2aad2f4e14
19 changed files with 107 additions and 106 deletions

View File

@@ -254,7 +254,7 @@ void MapContext::update() {
return;
}
TimePoint now = Clock::now();
const TimePoint now = Clock::now();
data.setAnimationTime(now);