mirror of
https://github.com/google/googletest.git
synced 2025-04-12 07:52:58 +00:00
Googletest export
Fix Objective-C++ compatibility PiperOrigin-RevId: 350192165
This commit is contained in:
parent
f8304d762e
commit
996b65e64e
1 changed files with 3 additions and 1 deletions
|
@ -266,7 +266,9 @@ struct RawBytesPrinter {
|
|||
template <typename T, size_t = sizeof(T)>
|
||||
static void PrintValue(const T& value, ::std::ostream* os) {
|
||||
PrintBytesInObjectTo(
|
||||
reinterpret_cast<const unsigned char*>(std::addressof(value)),
|
||||
static_cast<const unsigned char*>(
|
||||
// Load bearing cast to void* to support iOS
|
||||
reinterpret_cast<const void*>(std::addressof(value))),
|
||||
sizeof(value), os);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue