Fix DcId::create.
GitOrigin-RevId: 5eb39fc73ddd0a0d2ddfae312397c0a9ea26cbfc
This commit is contained in:
parent
99ce6f882a
commit
93d45b6502
@ -42,7 +42,7 @@ class DcId {
|
|||||||
}
|
}
|
||||||
static DcId create(int32 dc_id_value) {
|
static DcId create(int32 dc_id_value) {
|
||||||
if (DcId::is_valid(dc_id_value)) {
|
if (DcId::is_valid(dc_id_value)) {
|
||||||
return DcId(dc_id_value, true);
|
return DcId(dc_id_value, false);
|
||||||
} else {
|
} else {
|
||||||
return DcId::invalid();
|
return DcId::invalid();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user