No public description PiperOrigin-RevId: 598965366
diff --git a/fuzztest/internal/type_support.h b/fuzztest/internal/type_support.h index f09a1d7..e5b6219 100644 --- a/fuzztest/internal/type_support.h +++ b/fuzztest/internal/type_support.h
@@ -174,7 +174,7 @@ // embedded NULL character. const std::string input(v.data(), v.data() + v.size()); const std::string escaped = absl::CEscape(input); - if constexpr (std::is_convertible_v<T, std::vector<uint8_t>>) { + if constexpr (std::is_same_v<T, std::vector<uint8_t>>) { absl::Format(out, "fuzztest::ToByteArray(\"%s\")", escaped); } else if (absl::StrContains(input, '\0')) { absl::Format(out, "std::string(\"%s\", %d)", escaped, v.size()); @@ -587,7 +587,7 @@ return FloatingPrinter{}; } else if constexpr (std::is_convertible_v<T, absl::string_view> || std::is_convertible_v<T, std::string_view> || - std::is_convertible_v<T, std::vector<uint8_t>>) { + std::is_same_v<T, std::vector<uint8_t>>) { return StringPrinter{}; } else if constexpr (is_monostate_v<T>) { return MonostatePrinter{};