diff options
author | Copybara-Service <copybara-worker@google.com> | 2023-04-17 20:23:38 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-04-17 20:23:38 (GMT) |
commit | d25e625364a2078c940da2cb1fcf098aa184fd9f (patch) | |
tree | ac7a118f57227a02aa9eabd1c640cd1db8bf9307 /googlemock/include/gmock | |
parent | 922e0b7d805f5668b68762552f5cca9b3225acd5 (diff) | |
parent | 952560d3ec06eae08347d5e54faa8e3192d41b4d (diff) | |
download | googletest-d25e625364a2078c940da2cb1fcf098aa184fd9f.zip googletest-d25e625364a2078c940da2cb1fcf098aa184fd9f.tar.gz googletest-d25e625364a2078c940da2cb1fcf098aa184fd9f.tar.bz2 |
Merge pull request #4219 from jerylvaz:main
PiperOrigin-RevId: 524932412
Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
Diffstat (limited to 'googlemock/include/gmock')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 7c5d65c..fb9f15e 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -5544,7 +5544,8 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage( \ private: \ ::std::string FormatDescription(bool negation) const { \ - ::std::string gmock_description = (description); \ + ::std::string gmock_description; \ + gmock_description = (description); \ if (!gmock_description.empty()) { \ return gmock_description; \ } \ |