From 33a767219622261543c9c103f1d3f48853f5a4f0 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 22 Jan 2017 16:06:54 +0100 Subject: [PATCH] spu2x: use default contructor of the compiler --- plugins/spu2-x/src/defs.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/spu2-x/src/defs.h b/plugins/spu2-x/src/defs.h index 89e740065c..5881727024 100644 --- a/plugins/spu2-x/src/defs.h +++ b/plugins/spu2-x/src/defs.h @@ -40,7 +40,7 @@ struct V_VolumeLR s32 Left; s32 Right; - V_VolumeLR() {} + V_VolumeLR() = default; V_VolumeLR(s32 both) : Left(both) , Right(both) @@ -61,7 +61,7 @@ struct V_VolumeSlide s8 Mode; public: - V_VolumeSlide() {} + V_VolumeSlide() = default; V_VolumeSlide(s16 regval, s32 fullvol) : Reg_VOL(regval) , Value(fullvol) @@ -83,8 +83,7 @@ struct V_VolumeSlideLR V_VolumeSlide Right; public: - V_VolumeSlideLR() {} - + V_VolumeSlideLR() = default; V_VolumeSlideLR(s16 regval, s32 bothval) : Left(regval, bothval) , Right(regval, bothval)