Skip to content

Commit

Permalink
Add copy constructor for deme_properties.
Browse files Browse the repository at this point in the history
(Trying to fix macOS CI fail.)
  • Loading branch information
molpopgen committed Jun 16, 2021
1 parent c1feba7 commit 15dab7e
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -80,6 +80,16 @@ namespace fwdpy11
selfing_rates(std::move(_srv))
{
}

deme_properties(const deme_properties& other)
: current_deme_sizes(other.current_deme_sizes),

next_deme_sizes(other.next_deme_sizes),
growth_rate_onset_times(other.growth_rate_onset_times),
growth_initial_sizes(other.growth_initial_sizes),
growth_rates(other.growth_rates), selfing_rates(other.selfing_rates)
{
}
};
} // namespace discrete_demography
} // namespace fwdpy11
Expand Down

0 comments on commit 15dab7e

Please sign in to comment.