Define a wrapper class for callback_data.data (#1301)

This commit is contained in:
Stephanie Wang
2017-12-08 11:48:21 -08:00
committed by GitHub
parent 5adbdfecd0
commit bac39a134e
10 changed files with 146 additions and 65 deletions
+2 -2
View File
@@ -26,6 +26,6 @@ void push_error(DBHandle *db_handle,
UniqueID error_key = globally_unique_id();
memcpy(info->error_key, error_key.id, sizeof(info->error_key));
init_table_callback(db_handle, NIL_ID, __func__, info, NULL, NULL,
redis_push_error, NULL);
init_table_callback(db_handle, NIL_ID, __func__, new CommonCallbackData(info),
NULL, NULL, redis_push_error, NULL);
}