Modify

Opened 7 years ago

Closed 7 years ago

#4765 closed Bugs (fixed)

function_template.hpp incorrect placement of inline keyword

Reported by: Jean Pierre LeJacq <jplejacq@…> Owned by: Douglas Gregor
Milestone: To Be Determined Component: function
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

The implementation of operator() has the inline keyword in the after the return type of the function when it should be before. This was detected by FlexeLint?.

Attachments (1)

function.patch (909 bytes) - added by Jean Pierre LeJacq <jplejacq@…> 7 years ago.
patch file to fix issue.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Jean Pierre LeJacq <jplejacq@…>

Attachment: function.patch added

patch file to fix issue.

comment:1 Changed 7 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [67560]) Remove extra definition of operator(), since it's inline anyway. Fixes #4765.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Douglas Gregor.
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.