commit | 2e53fef9596667824f9f0467fb6b2eabf1eb121e | [log] [tgz] |
---|---|---|
author | tzik <[email protected]> | Mon Mar 20 07:14:07 2017 |
committer | Commit bot <[email protected]> | Mon Mar 20 07:14:07 2017 |
tree | 0f775880429371b59d2c7a956574b3598079c1f0 | |
parent | 127b4c34e8f23638707ba2ae54fc6f3be3b70ba8 [diff] |
Avoid to use the method pointer to Callback<>::Run on gmock tests This CL replaces a problematic method pointers to Callback::Run with testing::CreateFunctor. The method pointer to Callback::Run prevents to make it a template method or to overload it for cleaner implementation. Review-Url: https://codereview.chromium.org/2758713002 Cr-Commit-Position: refs/heads/master@{#458018}