We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a85dbb3 + 38bcaa4 commit e0c729bCopy full SHA for e0c729b
json_container/src/json_container.cc
@@ -620,7 +620,7 @@ namespace leatherman { namespace json_container {
620
void JsonContainer::setValue<>(json_value& jval, std::vector<bool> new_value ) {
621
jval.SetArray();
622
623
- for (const auto& value : new_value) {
+ for (auto value : new_value) {
624
json_value tmp_val;
625
tmp_val.SetBool(value);
626
jval.PushBack(tmp_val, document_root_->GetAllocator());
0 commit comments