Commit 0169d9d
committed
refactor: remove explicit string conversion in PartitionType
Removed unnecessary explicit std::string() conversion when passing
partition_field.name() to emplace_back. The SchemaField constructor
accepts std::string, and the implicit conversion from string_view
to std::string is cleaner and equally efficient.
This simplifies the code without changing behavior or performance.1 parent 7e784dc commit 0169d9d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
0 commit comments