Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions deps/googletest/include/gtest/internal/gtest-internal.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,6 +96,12 @@

namespaceproto2 {
class[[nodiscard]] MessageLite;

// Dummy forward declaration of `DynamicCastMessage`. Does not match any actual
// overloads of `DynamicCastMessage`, but can be used to assist name resolution
// in templates.
template <typename T>
T DynamicCastMessage() = delete;
}

namespacetesting {
Expand Down
3 changes: 1 addition & 2 deletions deps/googletest/src/gtest-printers.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,8 +114,7 @@ void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count,
// char32_t.
template <typename CharType>
char32_tToChar32(CharType in) {
returnstatic_cast<char32_t>(
static_cast<typename std::make_unsigned<CharType>::type>(in));
returnstatic_cast<char32_t>(static_cast<std::make_unsigned_t<CharType>>(in));
}

} // namespace
Expand Down
Loading