Skip to content

Commit e0c729b

Browse files
authored
Merge pull request #326 from MikaelSmith/clang-12
(maint) Address warning to build with Clang 12.0.0 on macOS
2 parents a85dbb3 + 38bcaa4 commit e0c729b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_container/src/json_container.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ namespace leatherman { namespace json_container {
620620
void JsonContainer::setValue<>(json_value& jval, std::vector<bool> new_value ) {
621621
jval.SetArray();
622622

623-
for (const auto& value : new_value) {
623+
for (auto value : new_value) {
624624
json_value tmp_val;
625625
tmp_val.SetBool(value);
626626
jval.PushBack(tmp_val, document_root_->GetAllocator());

0 commit comments

Comments
 (0)