mirror of
https://github.com/wassname/ray.git
synced 2026-08-02 13:01:01 +08: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:
committed by
Robert Nishihara
parent
2c9a4f6b41
commit
e96817d074
@@ -65,7 +65,7 @@ static inline TaskSpecification ExampleTaskSpec(
|
||||
const Language &language = Language::PYTHON) {
|
||||
return TaskSpecification(UniqueID::nil(), UniqueID::nil(), 0, ActorID::nil(),
|
||||
ObjectID::nil(), actor_id, ActorHandleID::nil(), 0,
|
||||
FunctionID::nil(), {}, 0, {}, language);
|
||||
FunctionID::nil(), {}, 0, {{}}, language);
|
||||
}
|
||||
|
||||
TEST_F(WorkerPoolTest, HandleWorkerRegistration) {
|
||||
|
||||
Reference in New Issue
Block a user