diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-11 13:40:17 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-11 14:50:22 -0700 |
commit | 62576e24a0e98a73c1396150f1f09acb838080e6 (patch) | |
tree | 0a322ed0db5965071e9f78ef6e12bf83056b8421 /include/mbgl/map/camera.hpp | |
parent | b71d86599d5e7c265b320300b18cfc0ea082c6d2 (diff) | |
download | qtlocation-mapboxgl-62576e24a0e98a73c1396150f1f09acb838080e6.tar.gz |
[core] Revert use of optional<EdgeInsets>, because EdgeInsets has a natural "empty" state
Diffstat (limited to 'include/mbgl/map/camera.hpp')
-rw-r--r-- | include/mbgl/map/camera.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/map/camera.hpp b/include/mbgl/map/camera.hpp index 20b863cf4e..53b5b590b1 100644 --- a/include/mbgl/map/camera.hpp +++ b/include/mbgl/map/camera.hpp @@ -17,7 +17,7 @@ struct CameraOptions { /** Padding around the interior of the view that affects the frame of reference for `center`. */ - optional<EdgeInsets> padding; + EdgeInsets padding; /** Point of reference for `zoom` and `angle`, assuming an origin at the top-left corner of the view. */ |