Skip to content

Conversation

@SunBlack
Copy link
Contributor

@SunBlack SunBlack commented Jul 2, 2025

Came across this due to a C26461 warning of MSVC:

The pointer argument 'ss' for function 'testing::internal::StringStreamToString' can be marked as a pointer to const (con.3).

As the method is defined as internal method, a breaking adjustment should be okay. So I switched to const reference, to make clear that the method doesn't accept a nullptr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant