ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.17k stars 388 forks source link

Change assert to ETL_ASSERT in memory.h #769

Closed Cythraul89 closed 11 months ago

Cythraul89 commented 12 months ago

memory.h is the only file where the standard assert function is used. Not sure if it's possible to change them to ETL_ASSERT

jwellbelove commented 12 months ago

The asserts are in places that should never be executed, except for a major bug in the ETL. I use the ETL_ASSERTs for runtime errors that could actually occur.

Cythraul89 commented 11 months ago

Thanks for the fast response. I was just confused because I found only two normal assertsand all other were ETL_ASSERT.