refactor(all): replace manual pointer assignments with new to enhance code readability and maintainability
This commit is contained in:
new to enhance code readability and maintainability