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
946bc64f
"googlemock/vscode:/vscode.git/clone" did not exist on "ae8d1fc81b1469905b3d0fa6f8a077f58fc4b250"
Commit
946bc64f
authored
Mar 31, 2009
by
zhanyong.wan
Browse files
Fixes an error when compiling with gcc 4.4.
parent
3fbd2dd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/gmock/gmock-spec-builders.h
include/gmock/gmock-spec-builders.h
+1
-1
No files found.
include/gmock/gmock-spec-builders.h
View file @
946bc64f
...
@@ -1083,7 +1083,7 @@ class FunctionMockerBase : public UntypedFunctionMockerBase {
...
@@ -1083,7 +1083,7 @@ class FunctionMockerBase : public UntypedFunctionMockerBase {
// called by the ON_CALL() and EXPECT_CALL() macros.
// called by the ON_CALL() and EXPECT_CALL() macros.
FunctionMocker
<
F
>&
RegisterOwner
(
const
void
*
mock_obj
)
{
FunctionMocker
<
F
>&
RegisterOwner
(
const
void
*
mock_obj
)
{
Mock
::
Register
(
mock_obj
,
this
);
Mock
::
Register
(
mock_obj
,
this
);
return
*
down_cast
<
FunctionMocker
<
F
>*>
(
this
);
return
*
::
testing
::
internal
::
down_cast
<
FunctionMocker
<
F
>*>
(
this
);
}
}
// The following two functions are from UntypedFunctionMockerBase.
// The following two functions are from UntypedFunctionMockerBase.
...
...
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