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.
This commit is contained in:
commit
78b49242d1
|
@ -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
|
||||||
// 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();
|
||||||
// }
|
// }
|
||||||
|
|
|
@ -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
|
||||||
// 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();
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user