mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
resolve maybe uninitialized error (#19103)
This commit is contained in:
parent
d8d8901192
commit
8241a03d31
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class TaskSpecification : public MessageWrapper<rpc::TaskSpec> {
|
|||
/// Field storing required placement resources. Initialized in constructor.
|
||||
std::shared_ptr<ResourceSet> required_placement_resources_;
|
||||
/// Cached scheduling class of this task.
|
||||
SchedulingClass sched_cls_id_;
|
||||
SchedulingClass sched_cls_id_ = 0;
|
||||
|
||||
/// Below static fields could be mutated in `ComputeResources` concurrently due to
|
||||
/// multi-threading, we need a mutex to protect it.
|
||||
|
|
Loading…
Add table
Reference in a new issue