Googletest export
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
This commit is contained in:
committed by
Gennadiy Civil
parent
a42cdf2abd
commit
26743363be
@@ -1488,7 +1488,7 @@ class ThreadWithParam : public ThreadWithParamBase {
|
||||
GTEST_CHECK_POSIX_SUCCESS_(
|
||||
pthread_create(&thread_, nullptr, &ThreadFuncWithCLinkage, base));
|
||||
}
|
||||
~ThreadWithParam() { Join(); }
|
||||
~ThreadWithParam() override { Join(); }
|
||||
|
||||
void Join() {
|
||||
if (!finished_) {
|
||||
@@ -1497,7 +1497,7 @@ class ThreadWithParam : public ThreadWithParamBase {
|
||||
}
|
||||
}
|
||||
|
||||
virtual void Run() {
|
||||
void Run() override {
|
||||
if (thread_can_start_ != nullptr) thread_can_start_->WaitForNotification();
|
||||
func_(param_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user