Opened 6 years ago
Last modified 6 years ago
#12758 new Bugs
Fix warning: declaration of 'explicit' constructor without a single argument is redundant
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | warning, compiling | Cc: |
Description
Dear Boost Developers,
When compiling Boost with a certain warning level in Linux we get the following warnings. warning #2305: declaration of 'explicit' constructor without a single argument is redundant
Attached you find the diff file to resolve the problem.
Regards
Martin
Attachments (1)
Change History (2)
by , 6 years ago
Attachment: | Boost_Patch_20170113.diff added |
---|
comment:1 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
After c++11, explicit keyword is meaningful for non-unary ctor.
Anyway, break this ticket for each libraries (and set component).