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)

date_time.patch (466 bytes ) - added by Chris Jefferson 12 years ago.
Patch to boost/date_time/gregorian_calendar.ipp

Download all attachments as: .zip

Change History (3)

by Chris Jefferson, 12 years ago

Attachment: date_time.patch added

Patch to boost/date_time/gregorian_calendar.ipp

comment:1 by Marshall Clow, 12 years ago

Applied in [70769]

comment:2 by Marshall Clow, 12 years ago

Resolution: fixed
Status: newclosed

(In [70985]) Merge date/time fixes to release. Fixes #5250

Note: See TracTickets for help on using tickets.