mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Replace ESM::RefId::sEmpty by default constructed RefId where possible
Static const is only required to provide a reference or a pointer when it is not possible with default constructed temporary.
This commit is contained in:
parent
9487312fb8
commit
b5ec584be2
70 changed files with 131 additions and 140 deletions
|
@ -102,6 +102,6 @@ namespace ESM
|
|||
mName.clear();
|
||||
mModel.clear();
|
||||
mIcon.clear();
|
||||
mScript = ESM::RefId::sEmpty;
|
||||
mScript = ESM::RefId();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue