Added a few comments
This commit is contained in:
@@ -64,7 +64,7 @@ namespace XPC
|
|||||||
std::string head = msg.GetHead();
|
std::string head = msg.GetHead();
|
||||||
if (head == "")
|
if (head == "")
|
||||||
{
|
{
|
||||||
return;
|
return; // No Message to handle
|
||||||
}
|
}
|
||||||
msg.PrintToLog();
|
msg.PrintToLog();
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ namespace XPC
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if there is a handler for this message type. If so, execute
|
// Check if there is a handler for this message type. If so, execute
|
||||||
// that handler. Othewwise, execute the unknown message handler.
|
// that handler. Otherwise, execute the unknown message handler.
|
||||||
auto iter = handlers.find(head);
|
auto iter = handlers.find(head);
|
||||||
if (iter != handlers.end())
|
if (iter != handlers.end())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user