Enables SetArgPointee<>() to accept a string literal; removes a self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525.
This commit is contained in:
@@ -251,5 +251,5 @@ TEST(WideInitGoogleMockTest, CallsInitGoogleTest) {
|
||||
TEST(FlagTest, IsAccessibleInCode) {
|
||||
bool dummy = testing::GMOCK_FLAG(catch_leaked_mocks) &&
|
||||
testing::GMOCK_FLAG(verbose) == "";
|
||||
dummy = dummy; // Avoids the "unused local variable" warning.
|
||||
(void)dummy; // Avoids the "unused local variable" warning.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user