From 2ab8978063cec1f9c6b68a7a5598e526df1ef3dd Mon Sep 17 00:00:00 2001 From: wxnzb <3127484862@qq.com> Date: Sat, 18 Jan 2025 20:22:23 +0800 Subject: [PATCH] variable-length-configuration --- src/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cc b/src/config.cc index a23fe75..e7f967f 100644 --- a/src/config.cc +++ b/src/config.cc @@ -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]);