mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
fix a syntax error of initializing unordered_map (#2871)
The previous way is incompatible with older version of gcc.
This commit is contained in:
parent
2c9a4f6b41
commit
e96817d074
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static inline TaskSpecification ExampleTaskSpec(
|
||||||
const Language &language = Language::PYTHON) {
|
const Language &language = Language::PYTHON) {
|
||||||
return TaskSpecification(UniqueID::nil(), UniqueID::nil(), 0, ActorID::nil(),
|
return TaskSpecification(UniqueID::nil(), UniqueID::nil(), 0, ActorID::nil(),
|
||||||
ObjectID::nil(), actor_id, ActorHandleID::nil(), 0,
|
ObjectID::nil(), actor_id, ActorHandleID::nil(), 0,
|
||||||
FunctionID::nil(), {}, 0, {}, language);
|
FunctionID::nil(), {}, 0, {{}}, language);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(WorkerPoolTest, HandleWorkerRegistration) {
|
TEST_F(WorkerPoolTest, HandleWorkerRegistration) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue