summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/custom_layer.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-11-06 16:48:18 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-11-07 16:34:20 +0200
commit5a70f2b15081bede66a2d736dc3e8f90ba73d601 (patch)
treeea4ac754f100303760c0120e25474eaba0ab7b66 /src/mbgl/style/layers/custom_layer.cpp
parent1ba1ead3eab5eb27c24163b93b04b49ffbdf2a3b (diff)
downloadqtlocation-mapboxgl-5a70f2b15081bede66a2d736dc3e8f90ba73d601.tar.gz
noexcept specifier for layer factory methods
Diffstat (limited to 'src/mbgl/style/layers/custom_layer.cpp')
-rw-r--r--src/mbgl/style/layers/custom_layer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp
index 060e455217..012771ec94 100644
--- a/src/mbgl/style/layers/custom_layer.cpp
+++ b/src/mbgl/style/layers/custom_layer.cpp
@@ -49,12 +49,12 @@ CustomLayerFactory::CustomLayerFactory() {
CustomLayerFactory::~CustomLayerFactory() = default;
// static
-CustomLayerFactory* CustomLayerFactory::get() {
+CustomLayerFactory* CustomLayerFactory::get() noexcept {
assert(instance);
return instance;
}
-bool CustomLayerFactory::supportsType(const std::string&) const {
+bool CustomLayerFactory::supportsType(const std::string&) const noexcept {
return false;
}