SYaoJun opened a new issue, #842:
URL: https://github.com/apache/incubator-graphar/issues/842
### Describe the enhancement requested
in incubator-graphar/cpp/src/graphar/status.h:157
> inline static Status OK() { return Status(); }
this statement can return `{}` directly to avoid repeating the return type
from the declaration
in incubator-graphar/cpp/src/graphar/status.h:138
> Status(StatusCode code, const std::string& msg) {
state_ = new State;
state_->code = code;
state_->msg = msg;
}
for msg can pass a value and use std::move
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]