Fix parsing of std::unordered_set.
GitOrigin-RevId: 6c946161748c71b36382c20e7bacac1299b4b9a8
This commit is contained in:
parent
0ca9b6493d
commit
718f9e3532
@ -310,6 +310,7 @@ struct PartialRemoteFileLocation {
|
||||
int32 part_size_;
|
||||
int32 ready_part_count_;
|
||||
int32 is_big_;
|
||||
|
||||
template <class StorerT>
|
||||
void store(StorerT &storer) const {
|
||||
using td::store;
|
||||
|
@ -158,8 +158,8 @@ void parse(std::unordered_set<Key, Hash, KeyEqual, Allocator> &s, ParserT &parse
|
||||
return;
|
||||
}
|
||||
s.clear();
|
||||
Key val;
|
||||
for (uint32 i = 0; i < size; i++) {
|
||||
Key val;
|
||||
parse(val, parser);
|
||||
s.insert(std::move(val));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user