Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
78b49242
Unverified
Commit
78b49242
authored
Jul 24, 2018
by
Gennadiy Civil
Committed by
GitHub
Jul 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1606 from m-tmatma/feature/fix-build-error-vs2017-win10-jp
#1595: fix compiler error with Visual Studio 2017 on Win10 JP.
parents
82c858b3
a68f0c20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gmock-generated-function-mockers.h
googlemock/include/gmock/gmock-generated-function-mockers.h
+2
-2
gmock-generated-function-mockers.h.pump
...ock/include/gmock/gmock-generated-function-mockers.h.pump
+2
-2
No files found.
googlemock/include/gmock/gmock-generated-function-mockers.h
View file @
78b49242
...
@@ -357,7 +357,7 @@ class FunctionMocker<R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)> : public
...
@@ -357,7 +357,7 @@ class FunctionMocker<R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)> : public
// // error when trying to resolve between this and overload 4 in
// // error when trying to resolve between this and overload 4 in
// // 'gmock_GetName(WithoutMatchers(), nullptr)'.
// // 'gmock_GetName(WithoutMatchers(), nullptr)'.
// MockSpec<string&()> gmock_GetName(
// MockSpec<string&()> gmock_GetName(
// const WithoutMatchers&, const Function<string&()>*) const
{
// const WithoutMatchers&, const Function<string&()>*) const
{
// // Removes const from this, calls overload 1
// // Removes const from this, calls overload 1
// return AdjustConstness_(this)->gmock_GetName();
// return AdjustConstness_(this)->gmock_GetName();
// }
// }
...
@@ -366,7 +366,7 @@ class FunctionMocker<R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)> : public
...
@@ -366,7 +366,7 @@ class FunctionMocker<R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)> : public
// const string& gmock_GetName() const { ... }
// const string& gmock_GetName() const { ... }
// // Overload 4
// // Overload 4
// MockSpec<const string&()> gmock_GetName(
// MockSpec<const string&()> gmock_GetName(
// const WithoutMatchers&, const Function<const string&()>*) const
{
// const WithoutMatchers&, const Function<const string&()>*) const
{
// // Does not remove const, calls overload 3
// // Does not remove const, calls overload 3
// return AdjustConstness_const(this)->gmock_GetName();
// return AdjustConstness_const(this)->gmock_GetName();
// }
// }
...
...
googlemock/include/gmock/gmock-generated-function-mockers.h.pump
View file @
78b49242
...
@@ -119,7 +119,7 @@ class FunctionMocker<R($As)> : public
...
@@ -119,7 +119,7 @@ class FunctionMocker<R($As)> : public
// // error when trying to resolve between this and overload 4 in
// // error when trying to resolve between this and overload 4 in
// // 'gmock_GetName(WithoutMatchers(), nullptr)'.
// // 'gmock_GetName(WithoutMatchers(), nullptr)'.
// MockSpec<string&()> gmock_GetName(
// MockSpec<string&()> gmock_GetName(
// const WithoutMatchers&, const Function<string&()>*) const
{
// const WithoutMatchers&, const Function<string&()>*) const
{
// // Removes const from this, calls overload 1
// // Removes const from this, calls overload 1
// return AdjustConstness_(this)->gmock_GetName();
// return AdjustConstness_(this)->gmock_GetName();
// }
// }
...
@@ -128,7 +128,7 @@ class FunctionMocker<R($As)> : public
...
@@ -128,7 +128,7 @@ class FunctionMocker<R($As)> : public
// const string& gmock_GetName() const { ... }
// const string& gmock_GetName() const { ... }
// // Overload 4
// // Overload 4
// MockSpec<const string&()> gmock_GetName(
// MockSpec<const string&()> gmock_GetName(
// const WithoutMatchers&, const Function<const string&()>*) const
{
// const WithoutMatchers&, const Function<const string&()>*) const
{
// // Does not remove const, calls overload 3
// // Does not remove const, calls overload 3
// return AdjustConstness_const(this)->gmock_GetName();
// return AdjustConstness_const(this)->gmock_GetName();
// }
// }
...
...
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