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 13:52:00 +0200 |
commit | f32501e9b786a8f832070b060ea3fa0071b8956c (patch) | |
tree | ea4ac754f100303760c0120e25474eaba0ab7b66 /src/mbgl/style/layers/custom_layer.cpp | |
parent | d036acefda5cf8beebbb61e490b450e183cca103 (diff) | |
download | qtlocation-mapboxgl-upstream/mikhail_refactor_layers_android.tar.gz |
noexcept specifier for layer factory methodsupstream/mikhail_refactor_layers_android
Diffstat (limited to 'src/mbgl/style/layers/custom_layer.cpp')
-rw-r--r-- | src/mbgl/style/layers/custom_layer.cpp | 4 |
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; } |