Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80703 - trunk/boost/date_time
From: marshall_at_[hidden]
Date: 2012-09-25 15:08:41


Author: marshall
Date: 2012-09-25 15:08:40 EDT (Tue, 25 Sep 2012)
New Revision: 80703
URL: http://svn.boost.org/trac/boost/changeset/80703

Log:
Added default case label to silence bogus warning; Refs #7111
Text files modified:
   trunk/boost/date_time/date_formatting.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/date_time/date_formatting.hpp
==============================================================================
--- trunk/boost/date_time/date_formatting.hpp (original)
+++ trunk/boost/date_time/date_formatting.hpp 2012-09-25 15:08:40 EDT (Tue, 25 Sep 2012)
@@ -54,7 +54,9 @@
           os << std::setw(2) << std::setfill(os.widen('0')) << month.as_number();
           break;
         }
-
+ default:
+ break;
+
       }
       return os;
     } // format_month


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk