3
0
Fork 0
forked from suyu/suyu

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

View file

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