xiaoxiang781216 commented on code in PR #6273:
URL: https://github.com/apache/incubator-nuttx/pull/6273#discussion_r873476038


##########
libs/libxx/libcxxmini/libxx_new.cxx:
##########
@@ -69,7 +69,7 @@ FAR void *operator new(std::size_t nbytes)
     }
 #endif
 
-  DEBUGASSERT(alloc != nullptr);

Review Comment:
   is it good to introduce a macro with a simple name in a frequent used header 
file? I prefer to avoid the code to use the new feature if it can simply avoid 
in code.



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to