- defaulted a few empty constructors.

# Conflicts:
#	src/gamedata/g_mapinfo.h
This commit is contained in:
Christoph Oelckers 2019-06-21 07:52:25 +02:00 committed by drfrag
parent 9585ae9c6e
commit 5f231473fd
4 changed files with 3 additions and 6 deletions

View file

@ -439,7 +439,7 @@ struct FPlayerStart
DVector3 pos;
int16_t angle, type;
FPlayerStart() { }
FPlayerStart() = default;
FPlayerStart(const FMapThing *mthing, int pnum)
: pos(mthing->pos),
angle(mthing->angle),

View file

@ -128,9 +128,6 @@ public:
FThinkerIterator (const PClass *type, int statnum, DThinker *prev);
DThinker *Next (bool exact = false);
void Reinit ();
protected:
FThinkerIterator() {}
};
template <class T> class TThinkerIterator : public FThinkerIterator

View file

@ -601,7 +601,7 @@ struct FSkillInfo
int Infighting;
bool PlayerRespawn;
FSkillInfo() {}
FSkillInfo() = default;
FSkillInfo(const FSkillInfo &other)
{
operator=(other);

View file

@ -267,7 +267,7 @@ struct FActorInfo
uint8_t DefaultStateUsage = 0; // state flag defaults for blocks without a qualifier.
FActorInfo() {}
FActorInfo() = default;
FActorInfo(const FActorInfo & other)
{
// only copy the fields that get inherited