From 7e02c5f2105fe89a902754df3b0c3fde9913ed44 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 30 Jan 2021 15:49:55 +0200 Subject: [PATCH] - replaced linked sector constructor with default initializers --- src/gamedata/r_defs.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/gamedata/r_defs.h b/src/gamedata/r_defs.h index 6cb8f9e77..a1bca88a1 100644 --- a/src/gamedata/r_defs.h +++ b/src/gamedata/r_defs.h @@ -520,14 +520,8 @@ struct FDynamicColormap; struct FLinkedSector { - sector_t *Sector; - int Type; - - FLinkedSector(sector_t *sector = nullptr, int type = 0) - : Sector(sector) - , Type(type) - { - } + sector_t *Sector = nullptr; + int Type = 0; };