minor frag store refactor

This commit is contained in:
2024-03-30 23:23:39 +01:00
parent 8b17ed195f
commit f22f523774
4 changed files with 12 additions and 7 deletions

View File

@@ -67,10 +67,6 @@ FragmentStore::FragmentStore(
registerSerializers();
}
FragmentHandle FragmentStore::fragmentHandle(FragmentID fid) {
return {_reg, fid};
}
std::vector<uint8_t> FragmentStore::generateNewUID(std::array<uint8_t, 16>& uuid_namespace) {
std::vector<uint8_t> new_uid(uuid_namespace.cbegin(), uuid_namespace.cend());
new_uid.resize(new_uid.size() + 16);