Opened 15 years ago
Closed 15 years ago
#459 closed defect (fixed)
DiscreteGeneral has pointer but no declared copy constructor (or assignment operator)
Reported by: | Peter | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | yat 0.5 |
Component: | random | Version: | trunk |
Keywords: | Cc: |
Description
DiscreteGeneral? has a pointer 'gsl_ran_discrete_t* gen_;
' yet uses compiler generated copy constructor (and assignment). Copy construction is used elsewhere so a simple private declaration will not do here.
Note: See
TracTickets for help on using
tickets.
(In [1616]) fixes #459