CPP: Apply suggestions from code review

Fix spelling in query id

Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
Alexander Eyers-Taylor
2023-12-12 17:22:46 +00:00
committed by GitHub
parent 136a77b86e
commit 236a6a1bce
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
* @description If a reference to the contents of a unique pointer outlives the underlying object it may lead to unexpected behavior.
* @kind problem
* @precision high
* @id cpp/use-of-uniwue-pointer-after-lifetime-ends
* @id cpp/use-of-unique-pointer-after-lifetime-ends
* @problem.severity warning
* @security-severity 8.8
* @tags reliability

View File

@@ -1,4 +1,4 @@
---
category: newQuery
---
* Added a new query, `cpp/use-of-uniwue-pointer-after-lifetime-ends`, to detect uses of the contents unique pointers that will be destroyed immediately.
* Added a new query, `cpp/use-of-unique-pointer-after-lifetime-ends`, to detect uses of the contents unique pointers that will be destroyed immediately.