1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-08 13:49:47 +00:00

SetRecordData is not really needed anymore so get rid of it

Always use SetRecordDataFull now.
This commit is contained in:
King_DuckZ 2016-06-04 01:13:26 +02:00
parent 7117ff7be2
commit 2057c797cb
4 changed files with 3 additions and 11 deletions

View file

@ -130,17 +130,13 @@ namespace mchlib {
bool hash_valid;
};
struct SetRecordData {
boost::string_ref name;
char type;
char content_type;
};
struct SetRecordDataFull : public SetRecordData {
struct SetRecordDataFull {
std::string name;
std::string disk_label;
std::string fs_uuid;
uint32_t disk_number;
char type;
char content_type;
};
#if !defined(NDEBUG)