Opened 10 years ago

Closed 10 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:

Description

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@… 10 years ago.
patch for the warning

Download all attachments as: .zip

Change History (2)

by markus.mohrhard@…, 10 years ago

patch for the warning

comment:1 by Steven Watanabe, 10 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.