Refactor configuration array to vector #10
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: nqrduck/limedriver#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dump_from_vector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaced the array parameter in
dumpConfig
function with a vector reference, streamlining parameter passing and enhancing code maintainability. Included<cstddef>
forsize_t
definition and removed redundant code that copied vector contents to an array, thus improving performance. These changes eliminate the need for manual array sizing and copying, reducing potential errors and improving readability.