mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +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;
|
DVector3 pos;
|
||||||
int16_t angle, type;
|
int16_t angle, type;
|
||||||
|
|
||||||
FPlayerStart() { }
|
FPlayerStart() = default;
|
||||||
FPlayerStart(const FMapThing *mthing, int pnum)
|
FPlayerStart(const FMapThing *mthing, int pnum)
|
||||||
: pos(mthing->pos),
|
: pos(mthing->pos),
|
||||||
angle(mthing->angle),
|
angle(mthing->angle),
|
||||||
|
|
|
@ -142,9 +142,6 @@ public:
|
||||||
FThinkerIterator (FLevelLocals *Level, const PClass *type, int statnum, DThinker *prev);
|
FThinkerIterator (FLevelLocals *Level, const PClass *type, int statnum, DThinker *prev);
|
||||||
DThinker *Next (bool exact = false);
|
DThinker *Next (bool exact = false);
|
||||||
void Reinit ();
|
void Reinit ();
|
||||||
|
|
||||||
protected:
|
|
||||||
FThinkerIterator() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T> class TThinkerIterator : public FThinkerIterator
|
template <class T> class TThinkerIterator : public FThinkerIterator
|
||||||
|
|
|
@ -528,7 +528,7 @@ struct FSkillInfo
|
||||||
int Infighting;
|
int Infighting;
|
||||||
bool PlayerRespawn;
|
bool PlayerRespawn;
|
||||||
|
|
||||||
FSkillInfo() {}
|
FSkillInfo() = default;
|
||||||
FSkillInfo(const FSkillInfo &other)
|
FSkillInfo(const FSkillInfo &other)
|
||||||
{
|
{
|
||||||
operator=(other);
|
operator=(other);
|
||||||
|
|
|
@ -267,7 +267,7 @@ struct FActorInfo
|
||||||
|
|
||||||
uint8_t DefaultStateUsage = 0; // state flag defaults for blocks without a qualifier.
|
uint8_t DefaultStateUsage = 0; // state flag defaults for blocks without a qualifier.
|
||||||
|
|
||||||
FActorInfo() {}
|
FActorInfo() = default;
|
||||||
FActorInfo(const FActorInfo & other)
|
FActorInfo(const FActorInfo & other)
|
||||||
{
|
{
|
||||||
// only copy the fields that get inherited
|
// only copy the fields that get inherited
|
||||||
|
|
Loading…
Reference in a new issue