mirror of
https://github.com/google/googletest.git
synced 2026-09-25 04:09:59 +03:00
Automated Code Change
PiperOrigin-RevId: 932837091 Change-Id: Ie65ce7e76ecb97b62483b8ee0ba95e5a96b8039e
This commit is contained in:
committed by
Copybara-Service
parent
7140cd416c
commit
44f22083d7
@@ -114,8 +114,7 @@ void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count,
|
||||
// char32_t.
|
||||
template <typename CharType>
|
||||
char32_t ToChar32(CharType in) {
|
||||
return static_cast<char32_t>(
|
||||
static_cast<typename std::make_unsigned<CharType>::type>(in));
|
||||
return static_cast<char32_t>(static_cast<std::make_unsigned_t<CharType>>(in));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user