Opened 12 years ago
Closed 12 years ago
#5250 closed Patches (fixed)
Tiny warning removal for date_time
| Reported by: | Chris Jefferson | Owned by: | az_sw_dude | 
|---|---|---|---|
| Milestone: | To Be Determined | Component: | date_time | 
| Version: | Boost Development Trunk | Severity: | Problem | 
| Keywords: | Cc: | 
Description
The attached patch changes 'if ((week == 53))' to 'if (week == 53)'. This is because clang++ warns about the double brackets.
It warns because double brackets are the traditional way of stopping the warning in statements like ' if (week = 53) ' (notice single =).
Attachments (1)
Change History (3)
by , 12 years ago
| Attachment: | date_time.patch added | 
|---|
comment:2 by , 12 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Patch to boost/date_time/gregorian_calendar.ipp