mirror of
https://github.com/wassname/ray.git
synced 2026-08-06 13:31:10 +08:00
Use scoped enums in C++ and flatbuffers. (#2194)
* Enable --scoped-enums in flatbuffer compiler. * Change enum to c++11 style (enum class). * Resolve conflicts. * Solve building failure when RAY_USE_NEW_GCS=on and remove ERROR_INDEX suffix. * Merge with master and fix CI failure.
This commit is contained in:
committed by
Philipp Moritz
parent
f0907a6ee9
commit
0a34bea0b0
@@ -39,8 +39,8 @@ void task_table_test_and_update(
|
||||
DBHandle *db_handle,
|
||||
TaskID task_id,
|
||||
DBClientID test_local_scheduler_id,
|
||||
int test_state_bitmask,
|
||||
int update_state,
|
||||
TaskStatus test_state_bitmask,
|
||||
TaskStatus update_state,
|
||||
RetryInfo *retry,
|
||||
task_table_test_and_update_callback done_callback,
|
||||
void *user_context) {
|
||||
@@ -60,7 +60,7 @@ void task_table_test_and_update(
|
||||
/* TODO(swang): A corresponding task_table_unsubscribe. */
|
||||
void task_table_subscribe(DBHandle *db_handle,
|
||||
DBClientID local_scheduler_id,
|
||||
int state_filter,
|
||||
TaskStatus state_filter,
|
||||
task_table_subscribe_callback subscribe_callback,
|
||||
void *subscribe_context,
|
||||
RetryInfo *retry,
|
||||
|
||||
Reference in New Issue
Block a user