Fix clang style warnings in webrtc/base/thread.h
TBR=tommi@webrtc.org BUG=webrtc:163 NOTRY=True # trivial change, last round of tests passed. Review-Url: https://codereview.webrtc.org/2706843002 Cr-Commit-Position: refs/heads/master@{#16715}
This commit is contained in:
parent
9420af7900
commit
8dd4ec3324
@ -561,6 +561,10 @@ AutoThread::~AutoThread() {
|
||||
}
|
||||
|
||||
#if defined(WEBRTC_WIN)
|
||||
ComThread::~ComThread() {
|
||||
Stop();
|
||||
}
|
||||
|
||||
void ComThread::Run() {
|
||||
HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
RTC_DCHECK(SUCCEEDED(hr));
|
||||
|
||||
@ -306,7 +306,7 @@ class AutoThread : public Thread {
|
||||
class ComThread : public Thread {
|
||||
public:
|
||||
ComThread() {}
|
||||
~ComThread() override { Stop(); }
|
||||
~ComThread() override;
|
||||
|
||||
protected:
|
||||
void Run() override;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user