mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
- defaulted a few empty constructors.
This commit is contained in:
parent
3030a6d389
commit
860edd490a
4 changed files with 3 additions and 6 deletions
|
@ -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 @@ 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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue