- defaulted a few empty constructors.

This commit is contained in:
Christoph Oelckers 2019-06-21 07:52:25 +02:00
parent 3030a6d389
commit 860edd490a
4 changed files with 3 additions and 6 deletions

View file

@ -441,7 +441,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

@ -142,9 +142,6 @@ public:
FThinkerIterator (FLevelLocals *Level, 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

@ -528,7 +528,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