Skip to content

Commit a5e7c6c

Browse files
HuaChunboHua, Chunbo
authored and
Hua, Chunbo
committed
Member initialization should be after the base class
1 parent a18c8d3 commit a5e7c6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

talk/owt/sdk/base/customizedframescapturer.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class CustomizedFramesCapturer::CustomizedFramesThread
2626
public rtc::MessageHandler {
2727
public:
2828
explicit CustomizedFramesThread(CustomizedFramesCapturer* capturer, int fps)
29-
: capturer_(capturer),
30-
rtc::Thread(SocketServer::CreateDefault()) {
29+
: rtc::Thread(SocketServer::CreateDefault()),
30+
capturer_(capturer) {
3131
finished_ = false;
3232
waiting_time_ms = 1000 / fps;
3333
}

0 commit comments

Comments
 (0)