Pass {Duration,TimePoint} by const ref if possible
This commit is contained in:
@@ -254,7 +254,7 @@ void MapContext::update() {
|
||||
return;
|
||||
}
|
||||
|
||||
TimePoint now = Clock::now();
|
||||
const TimePoint now = Clock::now();
|
||||
|
||||
data.setAnimationTime(now);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user