Skip to content

Commit f755b57

Browse files
Potential fix for pull request finding 'CodeQL / Large object passed by value'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent ed9a37f commit f755b57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/internal/basic_csv_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace csv {
6363
has_ws_trimming_ = !format.trim_chars.empty();
6464
}
6565

66-
CSV_INLINE void IBasicCSVParser::resolve_format_from_head(CSVFormat format) {
66+
CSV_INLINE void IBasicCSVParser::resolve_format_from_head(const CSVFormat& format) {
6767
auto head = this->get_csv_head();
6868

6969
ResolvedFormat resolved;

0 commit comments

Comments
 (0)