Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 1302833002: Fix -Winconsistent-missing-override in CrashReportUploadThread (Closed)

Created:
5 years, 4 months ago by Mark Mentovai
Modified:
5 years, 4 months ago
Reviewers:
scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Fix -Winconsistent-missing-override in CrashReportUploadThread Chromium builds with a newer clang than the Crashpad buildbot, and it reports: ../../../handler/crash_report_upload_thread.cc:148:16: error: 'ThreadMain' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] virtual void ThreadMain() { ^ ../../../util/thread/thread.h:46:16: note: overridden virtual function is here virtual void ThreadMain() = 0; ^ 1 error generated. R=scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/899821d4c791bdedcc0882312f90a67320332bac

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M handler/crash_report_upload_thread.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
Mark Mentovai
While I was in here, I waffled about eliminating internal::CrashReportUploadHelperThread and just making CrashReportUploadThread inherit ...
5 years, 4 months ago (2015-08-19 21:17:17 UTC) #2
scottmg
Thanks, lgtm. I waffled on the inheritance too, but decided containment was better also.
5 years, 4 months ago (2015-08-19 23:25:34 UTC) #3
Mark Mentovai
5 years, 4 months ago (2015-08-20 02:41:51 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
899821d4c791bdedcc0882312f90a67320332bac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698