diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-11-06 16:48:18 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-11-07 16:34:20 +0200 |
commit | 5a70f2b15081bede66a2d736dc3e8f90ba73d601 (patch) | |
tree | ea4ac754f100303760c0120e25474eaba0ab7b66 /include/mbgl/style/layers/fill_layer.hpp | |
parent | 1ba1ead3eab5eb27c24163b93b04b49ffbdf2a3b (diff) | |
download | qtlocation-mapboxgl-5a70f2b15081bede66a2d736dc3e8f90ba73d601.tar.gz |
noexcept specifier for layer factory methods
Diffstat (limited to 'include/mbgl/style/layers/fill_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/fill_layer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/layers/fill_layer.hpp b/include/mbgl/style/layers/fill_layer.hpp index 7ef6727691..aeb0ba988a 100644 --- a/include/mbgl/style/layers/fill_layer.hpp +++ b/include/mbgl/style/layers/fill_layer.hpp @@ -85,10 +85,10 @@ public: FillLayerFactory(); // LayerFactory overrides. ~FillLayerFactory() override; - bool supportsType(const std::string& type) const final; + bool supportsType(const std::string& type) const noexcept final; std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; - static FillLayerFactory* get(); + static FillLayerFactory* get() noexcept; private: static FillLayerFactory* instance; |