Googletest export

Address unused variable warning in gtest.h

Closes #3645

PiperOrigin-RevId: 407393922
This commit is contained in:
Abseil Team 2021-11-03 15:07:22 -04:00 committed by CJ Johnson
parent 51536300a1
commit bf0701daa9

View File

@ -1124,7 +1124,7 @@ class TestEventListener {
virtual void OnTestStart(const TestInfo& test_info) = 0;
// Fired when a test is disabled
virtual void OnTestDisabled(const TestInfo& test_info) {}
virtual void OnTestDisabled(const TestInfo& /*test_info*/) {}
// Fired after a failed assertion or a SUCCEED() invocation.
// If you want to throw an exception from this function to skip to the next