File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ namespace paddle {
82
82
class Error {
83
83
public:
84
84
/* *
85
- * Construct an no-error value.
85
+ * Construct a no-error value.
86
86
*/
87
87
Error () {}
88
88
@@ -100,7 +100,7 @@ class Error {
100
100
}
101
101
102
102
/* *
103
- * @brief what will return the error message. If no error, return nullptr.
103
+ * @brief msg will return the error message. If no error, return nullptr.
104
104
*/
105
105
const char * msg () const {
106
106
if (msg_) {
@@ -114,6 +114,7 @@ class Error {
114
114
* @brief operator bool, return True if there is no error.
115
115
*/
116
116
operator bool () const { return !msg_; }
117
+
117
118
/* *
118
119
* @brief check this status by glog.
119
120
* @note It is a temp method used during cleaning Paddle code. It will be
You can’t perform that action at this time.
0 commit comments