yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

service/audio/audout_u: Amend constructor initialization list order

Orders the constructor initializer list the same way the members of the
class are declared. Prevents -Wreorder warnings
This commit is contained in:
Lioncash 2018-12-01 23:56:17 -05:00
parent e88cdcc912
commit 57ac068a23
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ class IAudioOut final : public ServiceFramework<IAudioOut> {
public: public:
IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core, std::string&& device_name, IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core, std::string&& device_name,
std::string&& unique_name) std::string&& unique_name)
: ServiceFramework("IAudioOut"), audio_core(audio_core), audio_params(audio_params), : ServiceFramework("IAudioOut"), audio_core(audio_core),
device_name(std::move(device_name)) { device_name(std::move(device_name)), audio_params(audio_params) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},