From 69f92fa26c7bef3b042d8da5e520fe60b22e01b7 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 9 Jul 2021 18:42:30 +0200 Subject: Run clang-format on src/* --- src/WebRTCLibDataChannel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/WebRTCLibDataChannel.cpp') diff --git a/src/WebRTCLibDataChannel.cpp b/src/WebRTCLibDataChannel.cpp index 7cbf3b7..f29d562 100644 --- a/src/WebRTCLibDataChannel.cpp +++ b/src/WebRTCLibDataChannel.cpp @@ -70,7 +70,6 @@ WebRTCLibDataChannel *WebRTCLibDataChannel::new_data_channel(rtc::scoped_refptr< return tmp; } - void WebRTCLibDataChannel::bind_channel(rtc::scoped_refptr p_channel) { ERR_FAIL_COND(p_channel.get() == nullptr); @@ -150,7 +149,7 @@ godot_error WebRTCLibDataChannel::poll() { } void WebRTCLibDataChannel::close() { - if(channel.get() != nullptr) { + if (channel.get() != nullptr) { channel->Close(); channel->UnregisterObserver(); } @@ -197,7 +196,8 @@ void WebRTCLibDataChannel::_init() { register_interface(&interface); } -WebRTCLibDataChannel::WebRTCLibDataChannel() : observer(this) { +WebRTCLibDataChannel::WebRTCLibDataChannel() : + observer(this) { mutex = new std::mutex; } -- cgit v1.2.3