diff options
-rw-r--r-- | include/mbgl/style/conversion_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/conversion_impl.hpp b/include/mbgl/style/conversion_impl.hpp index 8652a355f1..1a2d13d7e2 100644 --- a/include/mbgl/style/conversion_impl.hpp +++ b/include/mbgl/style/conversion_impl.hpp @@ -96,6 +96,7 @@ class ConversionTraits; class Convertible { public: template <typename T> + // NOLINTNEXTLINE(bugprone-forwarding-reference-overload) Convertible(T&& value) : vtable(vtableForType<std::decay_t<T>>()) { static_assert(sizeof(Storage) >= sizeof(std::decay_t<T>), "Storage must be large enough to hold value type"); new (static_cast<void*>(&storage)) std::decay_t<T>(std::forward<T>(value)); |