Move ESM::RefId comment to make sure IDEs recognize it and show in tooltips

iwyu_full
elsid 2 years ago
parent 114daa5938
commit fe57aec2a4
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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…
Cancel
Save