diff --git a/include/mbgl/style/conversion_impl.hpp b/include/mbgl/style/conversion_impl.hpp index 8652a355f..1a2d13d7e 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 + // NOLINTNEXTLINE(bugprone-forwarding-reference-overload) Convertible(T&& value) : vtable(vtableForType>()) { static_assert(sizeof(Storage) >= sizeof(std::decay_t), "Storage must be large enough to hold value type"); new (static_cast(&storage)) std::decay_t(std::forward(value));