mirror of
https://github.com/wassname/ray.git
synced 2026-07-17 11:32:33 +08:00
Update logging and check macros. (#1627)
* Update logging and check macros. * Fix linting. * Fix RAY_DCHECK and unused variable. * Fix linting
This commit is contained in:
committed by
Philipp Moritz
parent
e7df293946
commit
0fcceef772
@@ -9,7 +9,7 @@ flatbuffers::Offset<flatbuffers::String> to_flatbuf(
|
||||
|
||||
ray::ObjectID from_flatbuf(const flatbuffers::String &string) {
|
||||
ray::ObjectID object_id;
|
||||
CHECK(string.size() == sizeof(ray::ObjectID));
|
||||
RAY_CHECK(string.size() == sizeof(ray::ObjectID));
|
||||
memcpy(object_id.mutable_data(), string.data(), sizeof(ray::ObjectID));
|
||||
return object_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user