Skip to content

Commit

Permalink
variable-length-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wxnzb committed Jan 18, 2025
1 parent 3e2f46a commit 2ab8978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Status StringValueArray::SetValue(const std::string& value, bool check) {
}
} else {
if (values_.empty()) {
values_.resize(values.size());
values_.resize(values.size());
}
for (size_t i = 0; i < values.size(); i++) {
values_[i] = std::move(values[i]);
Expand Down

0 comments on commit 2ab8978

Please sign in to comment.