coding cleanup

master
Roxie Linden 2024-02-22 23:25:27 -08:00
parent 1e5e3f130a
commit 4057d38e96
3 changed files with 2 additions and 7 deletions

View File

@ -4,11 +4,6 @@
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (WINDOWS)
set(CMAKE_GENERATOR_TOOLSET "CLangCL")
endif (WINDOWS)
include(00-Common)
include(Linking)
include(WebRTC)

View File

@ -40,7 +40,7 @@
namespace llwebrtc
{
LLAudioDeviceObserver::LLAudioDeviceObserver() : mMicrophoneEnergy(0.0), mSumVector {0} {}
LLAudioDeviceObserver::LLAudioDeviceObserver() : mSumVector {0}, mMicrophoneEnergy(0.0) {}
float LLAudioDeviceObserver::getMicrophoneEnergy() { return mMicrophoneEnergy; }

View File

@ -117,7 +117,7 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface, public webrtc::AudioDeviceS
{
public:
LLWebRTCImpl() :
mPeerCustomProcessor(nullptr), mMute(true)
mMute(true), mPeerCustomProcessor(nullptr)
{
}
~LLWebRTCImpl() {}