Opened 10 years ago
Closed 10 years ago
#7774 closed Bugs (fixed)
Wshadow warning in random
| Reported by: | Owned by: | No-Maintainer | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | random |
| Version: | Boost 1.52.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
In geometric_distribution.hpp the argument p in the constructor shadows a member function.
Attached is an easy fix.
Attachments (1)
Change History (2)
by , 10 years ago
| Attachment: | warning_geometric_distribution.patch added |
|---|
comment:1 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

patch for the warning