Skip to content

Replace global assert hook with static class member#4701

Open
Gregox273 wants to merge 1 commit intonasa:develfrom
Gregox273:issue-4525-assert-static-analysis
Open

Replace global assert hook with static class member#4701
Gregox273 wants to merge 1 commit intonasa:develfrom
Gregox273:issue-4525-assert-static-analysis

Conversation

@Gregox273
Copy link

Related Issue(s) #4525
Has Unit Tests (y/n) n
Documentation Included (y/n) n
Generative AI was used in this contribution (y/n) n

Change Description

Replaces global pointer static AssertHook* s_assertHook with a static class member within AssertHook. This ought to address the SonarQube finding:

<High> Line 96: cpp:S5421 Global pointers should be const at every level. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant