Subject: [Boost-bugs] [Boost C++ Libraries] #7113: In date_time default case of switch is missing.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-10 13:34:13
#7113: In date_time default case of switch is missing.
------------------------------------------------+---------------------------
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/time_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/7113> 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