diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 11:36:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 11:36:31 +0100 |
commit | eacea16a6ca4c6b38c28de1aa1dec884f48042d9 (patch) | |
tree | 8f72543a7c6166595a0193986861c54b45b6e674 /external | |
parent | 3beb77bb6753a77b7d801fdc65fad78b98331813 (diff) |
have a stab at fixing the -Wimplicit-fallthrough in json_parser
Change-Id: I2e6909cd804159a3540de4eb8ddecc1bd9131457
Diffstat (limited to 'external')
-rw-r--r-- | external/boost/fallthrough.patch.0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/external/boost/fallthrough.patch.0 b/external/boost/fallthrough.patch.0 index 02b09dc489df..ed9c83b15bd7 100644 --- a/external/boost/fallthrough.patch.0 +++ b/external/boost/fallthrough.patch.0 @@ -32,3 +32,13 @@ case 'u': case 'd': case 'i': +--- ./boost/property_tree/detail/json_parser/standard_callbacks.hpp ++++ ./boost/property_tree/detail/json_parser/standard_callbacks.hpp +@@ -117,6 +117,7 @@ + } + case object: + assert(false); // must start with string, i.e. call new_value ++ BOOST_FALLTHROUGH; + case key: { + l.t->push_back(std::make_pair(key_buffer, Ptree())); + l.k = object; |