From fb44fc81bdab09d079ed27e22b86718627ded48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 5 Feb 2015 14:58:20 +0100 Subject: make Map::resize() private they can only be called by View::resize --- src/mbgl/map/view.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/mbgl/map/view.cpp (limited to 'src') diff --git a/src/mbgl/map/view.cpp b/src/mbgl/map/view.cpp new file mode 100644 index 0000000000..3927652ba6 --- /dev/null +++ b/src/mbgl/map/view.cpp @@ -0,0 +1,11 @@ +#include +#include + +namespace mbgl { + +void View::resize(uint16_t width, uint16_t height, float ratio, uint16_t fbWidth, uint16_t fbHeight) { + assert(map); + map->resize(width, height, ratio, fbWidth, fbHeight); +} + +} -- cgit v1.2.1