diff options
| author | Chaoran Yang <chaorany@me.com> | 2019-05-12 00:14:54 +0000 |
|---|---|---|
| committer | Chaoran Yang <chaorany@me.com> | 2019-05-12 00:14:54 +0000 |
| commit | 2fc2383165373ff62160487b729222557888d1fa (patch) | |
| tree | fc4486fe96daf286087f8b9ee1c329e67e64e8f0 /googlemock/src | |
| parent | 52998153774597546019359d1ac017766ea5d56a (diff) | |
| download | googletest-2fc2383165373ff62160487b729222557888d1fa.tar.gz googletest-2fc2383165373ff62160487b729222557888d1fa.tar.bz2 googletest-2fc2383165373ff62160487b729222557888d1fa.zip | |
Use std::addressof to instead of plain '&'.
Otherwise the code won't compile if the '&' operater is overloaded and
return something that cannot be casted to void *.
Diffstat (limited to 'googlemock/src')
0 files changed, 0 insertions, 0 deletions
