From 5a70f2b15081bede66a2d736dc3e8f90ba73d601 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Tue, 6 Nov 2018 16:48:18 +0200 Subject: noexcept specifier for layer factory methods --- include/mbgl/style/layers/raster_layer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mbgl/style/layers/raster_layer.hpp') diff --git a/include/mbgl/style/layers/raster_layer.hpp b/include/mbgl/style/layers/raster_layer.hpp index 5cf06a7d98..86f57f3d12 100644 --- a/include/mbgl/style/layers/raster_layer.hpp +++ b/include/mbgl/style/layers/raster_layer.hpp @@ -91,10 +91,10 @@ public: RasterLayerFactory(); // LayerFactory overrides. ~RasterLayerFactory() override; - bool supportsType(const std::string& type) const final; + bool supportsType(const std::string& type) const noexcept final; std::unique_ptr createLayer(const std::string& id, const conversion::Convertible& value) final; - static RasterLayerFactory* get(); + static RasterLayerFactory* get() noexcept; private: static RasterLayerFactory* instance; -- cgit v1.2.1