summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-12 11:36:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-12 11:36:31 +0100
commiteacea16a6ca4c6b38c28de1aa1dec884f48042d9 (patch)
tree8f72543a7c6166595a0193986861c54b45b6e674 /external
parent3beb77bb6753a77b7d801fdc65fad78b98331813 (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.010
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;