From eacea16a6ca4c6b38c28de1aa1dec884f48042d9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 May 2016 11:36:31 +0100 Subject: have a stab at fixing the -Wimplicit-fallthrough in json_parser Change-Id: I2e6909cd804159a3540de4eb8ddecc1bd9131457 --- external/boost/fallthrough.patch.0 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'external') 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; -- cgit v1.2.3