You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/05/15 21:11:39 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6273: board/sim: Enable hellocxx in loadable config

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


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

Review Comment:
   Since nullptr is defined in c++11, I intentionally change it to NULL to make it work with C++98.



-- 
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-unsubscribe@nuttx.apache.org

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