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