Fix comments in assert.
Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D93
This commit is contained in:
parent
58a173c026
commit
91bd7ccfb6
@ -26,8 +26,8 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* parmanant assertion will always be active
|
||||
* when condition is satisfied program has to exit
|
||||
* permanent assertion will always be active
|
||||
* when condition is not satisfied program will exit
|
||||
*
|
||||
* a good use-case for this type of assert is during unit testing because
|
||||
* assert has to stay active all the time
|
||||
@ -46,7 +46,7 @@
|
||||
__handle_assert_message(s.str()); \
|
||||
std::exit(EXIT_FAILURE); \
|
||||
/** \
|
||||
* runtime assertion is more like standart C assert but with custom \
|
||||
* debug assertion is more like standard C assert but with custom \
|
||||
* define which controls when the assertion will be active \
|
||||
* \
|
||||
* could be used wherever the standard C assert is used but \
|
||||
|
Loading…
Reference in New Issue
Block a user