Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…rty_tree into covered_switch
  • Loading branch information
ashtum committed Nov 24, 2023
2 parents 30319d6 + 478d40d commit 90786bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ namespace boost { namespace property_tree {
return *stack.back().t;
}
case object:
default:
BOOST_ASSERT(false); // must start with string, i.e. call new_value
case key: {
l.t->push_back(std::make_pair(key_buffer, Ptree()));
Expand All @@ -130,6 +129,7 @@ namespace boost { namespace property_tree {
stack.pop_back();
return new_tree();
}
BOOST_ASSERT(false);
}
string& new_value() {
if (stack.empty()) return new_tree().data();
Expand Down

0 comments on commit 90786bb

Please sign in to comment.