Refactor configuration array to vector #10

Merged
kumitterer merged 1 commit from dump_from_vector into main 2024-02-07 14:08:51 +00:00
kumitterer commented 2024-02-07 13:54:26 +00:00 (Migrated from github.com)

Replaced the array parameter in dumpConfig function with a vector reference, streamlining parameter passing and enhancing code maintainability. Included <cstddef> for size_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.

Replaced the array parameter in `dumpConfig` function with a vector reference, streamlining parameter passing and enhancing code maintainability. Included `<cstddef>` for `size_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.
jupfi (Migrated from github.com) reviewed 2024-02-07 13:54:26 +00:00
Sign in to join this conversation.
No description provided.