add noexcepts (#2119)
Co-authored-by: Bart Louwers <bart@emeel.net> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
namespace mbgl {
|
||||
namespace util {
|
||||
|
||||
float interpolationFactor(float base, Range<float> range, float z) {
|
||||
float interpolationFactor(float base, Range<float> range, float z) noexcept {
|
||||
const float zoomDiff = range.max - range.min;
|
||||
const float zoomProgress = z - range.min;
|
||||
if (zoomDiff == 0) {
|
||||
|
||||
Reference in New Issue
Block a user