forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(assert): add general assertion that always executes its condition
Its purpose is used to check the value of conditions whose sideeffects are critical to the program. this makes it possible to avoid code such as ```cpp [[maybe_unused]] bool successful = moveToThread(m_pThread.get()); DEBUG_ASSERT(successful); ``` and instead write ```cpp ASSERT(moveToThread(m_pThread.get())); ```
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters