From 4057d38e969b2a9d29d111ee3b238a562e82fd9a Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Thu, 22 Feb 2024 23:25:27 -0800 Subject: coding cleanup --- indra/llwebrtc/CMakeLists.txt | 5 ----- indra/llwebrtc/llwebrtc.cpp | 2 +- indra/llwebrtc/llwebrtc_impl.h | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'indra') diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt index f32d3dc580..29dc1df8d6 100644 --- a/indra/llwebrtc/CMakeLists.txt +++ b/indra/llwebrtc/CMakeLists.txt @@ -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) diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index 283124e315..adde174a74 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -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; } diff --git a/indra/llwebrtc/llwebrtc_impl.h b/indra/llwebrtc/llwebrtc_impl.h index 7146267379..978d4f04e3 100644 --- a/indra/llwebrtc/llwebrtc_impl.h +++ b/indra/llwebrtc/llwebrtc_impl.h @@ -117,7 +117,7 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface, public webrtc::AudioDeviceS { public: LLWebRTCImpl() : - mPeerCustomProcessor(nullptr), mMute(true) + mMute(true), mPeerCustomProcessor(nullptr) { } ~LLWebRTCImpl() {} -- cgit v1.2.3