spu2x: use default contructor of the compiler

This commit is contained in:
Gregory Hainaut 2017-01-22 16:06:54 +01:00
parent 44b5552231
commit 33a7672196
1 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,7 @@ struct V_VolumeLR
s32 Left; s32 Left;
s32 Right; s32 Right;
V_VolumeLR() {} V_VolumeLR() = default;
V_VolumeLR(s32 both) V_VolumeLR(s32 both)
: Left(both) : Left(both)
, Right(both) , Right(both)
@ -61,7 +61,7 @@ struct V_VolumeSlide
s8 Mode; s8 Mode;
public: public:
V_VolumeSlide() {} V_VolumeSlide() = default;
V_VolumeSlide(s16 regval, s32 fullvol) V_VolumeSlide(s16 regval, s32 fullvol)
: Reg_VOL(regval) : Reg_VOL(regval)
, Value(fullvol) , Value(fullvol)
@ -83,8 +83,7 @@ struct V_VolumeSlideLR
V_VolumeSlide Right; V_VolumeSlide Right;
public: public:
V_VolumeSlideLR() {} V_VolumeSlideLR() = default;
V_VolumeSlideLR(s16 regval, s32 bothval) V_VolumeSlideLR(s16 regval, s32 bothval)
: Left(regval, bothval) : Left(regval, bothval)
, Right(regval, bothval) , Right(regval, bothval)