Skip to content
Permalink
Browse files

- defaulted a few empty constructors.

  • Loading branch information...
coelckers committed Jun 21, 2019
1 parent 3030a6d commit 860edd490a14520b7d9c34f5d1157f44c9aa00fb
Showing with 3 additions and 6 deletions.
  1. +1 −1 src/doomdata.h
  2. +0 −3 src/g_shared/dthinker.h
  3. +1 −1 src/gamedata/g_mapinfo.h
  4. +1 −1 src/gamedata/info.h
@@ -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),
@@ -142,9 +142,6 @@ class FThinkerIterator
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
@@ -528,7 +528,7 @@ struct FSkillInfo
int Infighting;
bool PlayerRespawn;

FSkillInfo() {}
FSkillInfo() = default;
FSkillInfo(const FSkillInfo &other)
{
operator=(other);
@@ -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

0 comments on commit 860edd4

Please sign in to comment.
You can’t perform that action at this time.