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 {
8282class Error {
8383public:
8484 /* *
85- * Construct an no-error value.
85+ * Construct a no-error value.
8686 */
8787 Error () {}
8888
@@ -100,7 +100,7 @@ class Error {
100100 }
101101
102102 /* *
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.
104104 */
105105 const char * msg () const {
106106 if (msg_) {
@@ -114,6 +114,7 @@ class Error {
114114 * @brief operator bool, return True if there is no error.
115115 */
116116 operator bool () const { return !msg_; }
117+
117118 /* *
118119 * @brief check this status by glog.
119120 * @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