Fix crash

This commit is contained in:
Leith Bade
2014-11-12 23:17:07 +11:00
parent 0dd54c0379
commit 7877d0505e
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ void MBGLView::notify_map_change(mbgl::MapChange /* change */, mbgl::timestamp /
nativeView.notifyMapChange();
}
NativeMapView::NativeMapView(JNIEnv* env, jobject obj_) : map(view), view(*this) {
NativeMapView::NativeMapView(JNIEnv* env, jobject obj_) : view(*this), map(view) {
LOG_VERBOSE("NativeMapView::NativeMapView");
LOG_ASSERT(env != nullptr);