From 665497672e28461de4550a835f3459a964704e94 Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 29 Oct 2014 18:13:25 -0400 Subject: [PATCH] access member variables directly inside class methods --- src/map/map.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/map/map.cpp b/src/map/map.cpp index ad8248476..d0a279b64 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -642,9 +642,8 @@ void Map::prepare() { void Map::render() { view.make_active(); - painter.render(*style, getActiveSources(), - getState(), getAnimationTime()); - + painter.render(*style, activeSources, + state, animationTime); // Schedule another rerender when we definitely need a next frame. if (transform.needsTransition() || style->hasTransitions()) { update();