mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Move ESM::RefId comment to make sure IDEs recognize it and show in tooltips
This commit is contained in:
parent
114daa5938
commit
fe57aec2a4
@ -8,11 +8,11 @@
|
||||
|
||||
namespace ESM
|
||||
{
|
||||
// RefId is used to represent an Id that identifies an ESM record. These Ids can then be used in
|
||||
// ESM::Stores to find the actual record. These Ids can be serialized/de-serialized, stored on disk and remain
|
||||
// valid. They are used by ESM files, by records to reference other ESM records.
|
||||
struct RefId
|
||||
{
|
||||
// This structure is used to represent an Id that identifies an ESM record. These Ids can then be used in
|
||||
// ESM::Stores to find the actual record. These Ids can be serialized/de-serialized, stored on disk and remain
|
||||
// valid. They are used by ESM files, by records to reference other ESM records.
|
||||
const static RefId sEmpty;
|
||||
bool empty() const { return mId.empty(); }
|
||||
void swap(RefId& rhs) { mId.swap(rhs.mId); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user