make Map::resize() private
they can only be called by View::resize
This commit is contained in:
11
src/mbgl/map/view.cpp
Normal file
11
src/mbgl/map/view.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <mbgl/map/view.hpp>
|
||||
#include <mbgl/map/map.hpp>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user