Move WeakPtrFactory in map_renderer.hpp (#2861)
This commit is contained in:
@@ -146,10 +146,12 @@ private:
|
||||
std::atomic<bool> destroyed{false};
|
||||
|
||||
std::unique_ptr<SnapshotCallback> snapshotCallback;
|
||||
mapbox::base::WeakPtrFactory<Scheduler> weakFactory{this};
|
||||
|
||||
bool framebufferSizeChanged = false;
|
||||
bool swapBehaviorFlush = false;
|
||||
|
||||
mapbox::base::WeakPtrFactory<Scheduler> weakFactory{this};
|
||||
// Do not add members here, see `WeakPtrFactory`
|
||||
};
|
||||
|
||||
} // namespace android
|
||||
|
||||
Reference in New Issue
Block a user