summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/background_layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/background_layer.cpp')
-rw-r--r--src/mbgl/style/layers/background_layer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/layers/background_layer.cpp b/src/mbgl/style/layers/background_layer.cpp
index 8b3ce5ff68..d84c7b66de 100644
--- a/src/mbgl/style/layers/background_layer.cpp
+++ b/src/mbgl/style/layers/background_layer.cpp
@@ -42,7 +42,7 @@ std::unique_ptr<Layer> BackgroundLayer::cloneRef(const std::string& id_) const {
void BackgroundLayer::Impl::stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const {
}
-LayerFactory* BackgroundLayer::Impl::getLayerFactory() const {
+LayerFactory* BackgroundLayer::Impl::getLayerFactory() const noexcept {
return BackgroundLayerFactory::get();
}
@@ -284,12 +284,12 @@ BackgroundLayerFactory::BackgroundLayerFactory() {
BackgroundLayerFactory::~BackgroundLayerFactory() = default;
// static
-BackgroundLayerFactory* BackgroundLayerFactory::get() {
+BackgroundLayerFactory* BackgroundLayerFactory::get() noexcept {
assert(instance);
return instance;
}
-bool BackgroundLayerFactory::supportsType(const std::string& type) const {
+bool BackgroundLayerFactory::supportsType(const std::string& type) const noexcept {
return type == "background";
}