From f6ee93e96d8599b954bd6a60b55c502a86cea8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 9 Apr 2014 18:21:24 -0400 Subject: [PATCH] no need to call separate function --- common/map_view.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/map_view.cpp b/common/map_view.cpp index 4e68a65ce..75a5af3ac 100644 --- a/common/map_view.cpp +++ b/common/map_view.cpp @@ -178,7 +178,7 @@ public: if (dirty) { try { - dirty = render(); + dirty = map.render(); } catch (std::exception& ex) { fprintf(stderr, "exception: %s\n", ex.what()); } @@ -196,10 +196,6 @@ public: return 0; } - bool render() { - return map.render(); - } - void fps() { static int frames = 0; static double time_elapsed = 0;