Opened 6 years ago

Closed 6 years ago

#7774 closed Bugs (fixed)

Wshadow warning in random

Reported by: markus.mohrhard@… Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:


In geometric_distribution.hpp the argument p in the constructor shadows a member function.

Attached is an easy fix.

Attachments (1)

warning_geometric_distribution.patch (528 bytes) - added by markus.mohrhard@… 6 years ago.
patch for the warning

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by markus.mohrhard@…

patch for the warning

comment:1 Changed 6 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [82939]) Fix -Wshadow warning. Fixes #7774.

Note: See TracTickets for help on using tickets.