Skip to content

Commit 416b40a

Browse files
committed
protocols compatibility
1 parent 9174dce commit 416b40a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/behaviortree_cpp/loggers/groot2_protocol.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ struct RequestHeader
107107
bool operator==(const RequestHeader& other) const
108108
{
109109
return type == other.type &&
110-
protocol == other.protocol &&
111110
unique_id == other.unique_id;
112111
}
113112
bool operator!=(const RequestHeader& other) const

src/loggers/groot2_publisher.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ void Groot2Publisher::serverLoop()
269269

270270
Monitor::ReplyHeader reply_header;
271271
reply_header.request = request_header;
272+
reply_header.request.protocol = Monitor::kProtocolID;
272273
reply_header.tree_id = serialized_uuid;
273274

274275
zmq::multipart_t reply_msg;

0 commit comments

Comments
 (0)