Ticket #7111: date_formatting.hpp_patch

File date_formatting.hpp_patch, 430 bytes (added by Gaurav Gupta <g.gupta@…>, 10 years ago)

Fix for the reported Bug.

Line 
1diff -Naur a/boost/date_time/date_formatting.hpp b/boost/date_time/date_formatting.hpp
2--- a/boost/date_time/date_formatting.hpp 2012-07-05 16:47:25.000000000 +0530
3+++ b/boost/date_time/date_formatting.hpp 2012-07-10 18:17:16.000000000 +0530
4@@ -54,6 +54,9 @@
5 os << std::setw(2) << std::setfill(os.widen('0')) << month.as_number();
6 break;
7 }
8+
9+ default:
10+ break;
11
12 }
13 return os;