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
84a498de
Commit
84a498de
authored
Jun 13, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2285 from tomalakgeretkal:c++17-fix
PiperOrigin-RevId: 253067038
parents
26afdba7
d515158d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/test/gmock-matchers_test.cc
googlemock/test/gmock-matchers_test.cc
+2
-2
No files found.
googlemock/test/gmock-matchers_test.cc
View file @
84a498de
...
@@ -4266,8 +4266,8 @@ TEST(ResultOfTest, WorksForFunctionReferences) {
...
@@ -4266,8 +4266,8 @@ TEST(ResultOfTest, WorksForFunctionReferences) {
// Tests that ResultOf(f, ...) compiles and works as expected when f is a
// Tests that ResultOf(f, ...) compiles and works as expected when f is a
// function object.
// function object.
struct
Functor
:
public
::
std
::
unary_function
<
int
,
std
::
string
>
{
struct
Functor
{
result_type
operator
()(
argument_type
input
)
const
{
std
::
string
operator
()(
int
input
)
const
{
return
IntToStringFunction
(
input
);
return
IntToStringFunction
(
input
);
}
}
};
};
...
...
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