diff options
-rw-r--r-- | platform/android/src/snapshotter/map_snapshotter.cpp | 12 | ||||
-rw-r--r-- | platform/android/src/snapshotter/map_snapshotter.hpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/platform/android/src/snapshotter/map_snapshotter.cpp b/platform/android/src/snapshotter/map_snapshotter.cpp index 812bd414eb..f3884efb30 100644 --- a/platform/android/src/snapshotter/map_snapshotter.cpp +++ b/platform/android/src/snapshotter/map_snapshotter.cpp @@ -41,12 +41,12 @@ MapSnapshotter::MapSnapshotter(jni::JNIEnv& _env, showLogo = _showLogo; // Create the core snapshotter - snapshotter = std::make_unique<mbgl::MapSnapshotter>(size, - pixelRatio, - mbgl::android::FileSource::getSharedResourceOptions(_env, _jFileSource), - *this, - _localIdeographFontFamily ? jni::Make<std::string>(_env, _localIdeographFontFamily) - : optional<std::string>{}); + snapshotter = std::make_unique<mbgl::MapSnapshotter>( + size, + pixelRatio, + mbgl::android::FileSource::getSharedResourceOptions(_env, _jFileSource), + *this, + _localIdeographFontFamily ? jni::Make<std::string>(_env, _localIdeographFontFamily) : optional<std::string>{}); if (position) { snapshotter->setCameraOptions(CameraPosition::getCameraOptions(_env, position, pixelRatio)); diff --git a/platform/android/src/snapshotter/map_snapshotter.hpp b/platform/android/src/snapshotter/map_snapshotter.hpp index c7c25faab4..1adaba4c78 100644 --- a/platform/android/src/snapshotter/map_snapshotter.hpp +++ b/platform/android/src/snapshotter/map_snapshotter.hpp @@ -1,9 +1,9 @@ #pragma once #include <jni/jni.hpp> +#include <mapbox/weak.hpp> #include <mbgl/map/map_snapshotter.hpp> #include <mbgl/util/util.hpp> -#include <mapbox/weak.hpp> #include <memory> |