Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
0e413243
"...include/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "69c510fb5137160b532e1c7e9bec9e660c14b193"
Commit
0e413243
authored
May 22, 2010
by
vladlosev
Browse files
Fixes issue 286.
parent
fbc266f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test/gtest-printers_test.cc
test/gtest-printers_test.cc
+2
-3
No files found.
test/gtest-printers_test.cc
View file @
0e413243
...
@@ -84,10 +84,9 @@ namespace foo {
...
@@ -84,10 +84,9 @@ namespace foo {
// A user-defined unprintable type in a user namespace.
// A user-defined unprintable type in a user namespace.
class
UnprintableInFoo
{
class
UnprintableInFoo
{
public:
public:
UnprintableInFoo
()
:
x
_
(
0
x12EF
),
y_
(
0xAB34
),
z_
(
0
)
{
}
UnprintableInFoo
()
:
z
_
(
0
)
{
memcpy
(
xy_
,
"
\xEF\x12
\x0\x0
\x34\xAB
\x0\x0"
,
8
);
}
private:
private:
testing
::
internal
::
Int32
x_
;
char
xy_
[
8
];
testing
::
internal
::
Int32
y_
;
double
z_
;
double
z_
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment