diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/camera.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/style/filter.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/camera.hpp b/include/mbgl/map/camera.hpp index c8b665fc16..726c009231 100644 --- a/include/mbgl/map/camera.hpp +++ b/include/mbgl/map/camera.hpp @@ -89,7 +89,7 @@ struct AnimationOptions { std::function<void()> transitionFinishFn; /** Creates an animation with no options specified. */ - AnimationOptions() {} + AnimationOptions() = default; /** Creates an animation with the specified duration. */ AnimationOptions(Duration d) diff --git a/include/mbgl/style/filter.hpp b/include/mbgl/style/filter.hpp index 5e14bccacc..c3ce6833fb 100644 --- a/include/mbgl/style/filter.hpp +++ b/include/mbgl/style/filter.hpp @@ -18,7 +18,7 @@ public: private: optional<mbgl::Value> legacyFilter; public: - Filter() {} + Filter() = default; Filter(expression::ParseResult _expression, optional<mbgl::Value> _filter = {}) : expression(std::move(*_expression)), |