diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-05-22 00:27:10 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-05-22 00:27:10 +0000 |
commit | 13eda01416bd48424a92dd02aa85857b7340353f (patch) | |
tree | 52b7297b9c70047be401892c7998e9b602310e3f | |
parent | 7e3bea8a69a3235d1e4775215e16f42ae8129359 (diff) | |
download | gtest-13eda01416bd48424a92dd02aa85857b7340353f.tar.gz gtest-13eda01416bd48424a92dd02aa85857b7340353f.tar.bz2 gtest-13eda01416bd48424a92dd02aa85857b7340353f.tar.xz |
Fixes issue 286.
git-svn-id: http://googletest.googlecode.com/svn/trunk@437 861a406c-534a-0410-8894-cb66d6ee9925
-rw-r--r-- | test/gtest-printers_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/gtest-printers_test.cc b/test/gtest-printers_test.cc index 0ecd871..fae3fa4 100644 --- a/test/gtest-printers_test.cc +++ b/test/gtest-printers_test.cc @@ -84,10 +84,9 @@ namespace foo { // A user-defined unprintable type in a user namespace. class UnprintableInFoo { public: - UnprintableInFoo() : x_(0x12EF), y_(0xAB34), z_(0) {} + UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); } private: - testing::internal::Int32 x_; - testing::internal::Int32 y_; + char xy_[8]; double z_; }; |