@@ -132,6 +132,7 @@ class LevelDbMutationKey {
132
132
}
133
133
134
134
private:
135
+ // Deliberately uninitialized: will be assigned in Decode
135
136
std::string user_id_;
136
137
model::BatchId batch_id_;
137
138
};
@@ -199,6 +200,7 @@ class LevelDbDocumentMutationKey {
199
200
}
200
201
201
202
private:
203
+ // Deliberately uninitialized: will be assigned in Decode
202
204
std::string user_id_;
203
205
model::DocumentKey document_key_;
204
206
model::BatchId batch_id_;
@@ -238,6 +240,7 @@ class LevelDbMutationQueueKey {
238
240
}
239
241
240
242
private:
243
+ // Deliberately uninitialized: will be assigned in Decode
241
244
std::string user_id_;
242
245
};
243
246
@@ -283,7 +286,7 @@ class LevelDbTargetKey {
283
286
}
284
287
285
288
private:
286
- model::TargetId target_id_;
289
+ model::TargetId target_id_ = 0 ;
287
290
};
288
291
289
292
/* *
@@ -330,6 +333,7 @@ class LevelDbQueryTargetKey {
330
333
}
331
334
332
335
private:
336
+ // Deliberately uninitialized: will be assigned in Decode
333
337
std::string canonical_id_;
334
338
model::TargetId target_id_;
335
339
};
@@ -377,6 +381,7 @@ class LevelDbTargetDocumentKey {
377
381
}
378
382
379
383
private:
384
+ // Deliberately uninitialized: will be assigned in Decode
380
385
model::TargetId target_id_;
381
386
model::DocumentKey document_key_;
382
387
};
@@ -424,6 +429,7 @@ class LevelDbDocumentTargetKey {
424
429
}
425
430
426
431
private:
432
+ // Deliberately uninitialized: will be assigned in Decode
427
433
model::TargetId target_id_;
428
434
model::DocumentKey document_key_;
429
435
};
@@ -469,6 +475,7 @@ class LevelDbRemoteDocumentKey {
469
475
}
470
476
471
477
private:
478
+ // Deliberately uninitialized: will be assigned in Decode
472
479
model::DocumentKey document_key_;
473
480
};
474
481
0 commit comments