[Glacier] Convert ErrorCode into an Enum.
This commit is contained in:
parent
bcd9cf09bc
commit
e66706d381
14 changed files with 77 additions and 66 deletions
|
|
@ -29,7 +29,8 @@ class ResponseContext {
|
|||
code,
|
||||
};
|
||||
written_ = true;
|
||||
return ZReplyPortSend(reply_port_, sizeof(response), &response, 0, nullptr);
|
||||
return static_cast<glcr::ErrorCode>(
|
||||
ZReplyPortSend(reply_port_, sizeof(response), &response, 0, nullptr));
|
||||
}
|
||||
|
||||
bool HasWritten() { return written_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue