diff --git a/common/util/variant.h b/common/util/variant.h index 3bdf6e2a0c..4e767116db 100644 --- a/common/util/variant.h +++ b/common/util/variant.h @@ -281,7 +281,7 @@ class Variant { constexpr Variant(Variant&& other) noexcept { Construct(std::move(other)); } // TODO(mglb): enable conditionally - template >* = nullptr> + template >> constexpr explicit Variant(T&& obj) noexcept { Construct(std::forward(obj)); }