Subject: [Boost-bugs] [Boost C++ Libraries] #7112: Switch case default missing in date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-10 13:15:53
#7112: Switch case default missing in date_time
------------------------------------------------+---------------------------
Reporter: Gaurav Gupta <g.gupta@â¦> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
------------------------------------------------+---------------------------
In file boost/date_time/date_parsing.hpp '''default''' case of switch
condition is missing at two places.Switch case should not be used without
default case ideally.In case of default, code should break from the loop.
Attached patch is the fix for it.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7112> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC