Modify

Opened 7 years ago

Closed 7 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 7 years ago.
Patch to boost/date_time/gregorian_calendar.ipp

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Chris Jefferson

Attachment: date_time.patch added

Patch to boost/date_time/gregorian_calendar.ipp

comment:1 Changed 7 years ago by Marshall Clow

Applied in [70769]

comment:2 Changed 7 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain az_sw_dude.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.