Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Add a virtual destructor to advective dep state, just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 26, 2010
1 parent 2c7ff8b commit 8763ad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cpp/dep_advective.hpp
Expand Up @@ -145,6 +145,9 @@ namespace pyrticle
m_element_kill_counter(src.m_element_kill_counter)
{ }

virtual ~depositor_state()
{ }

unsigned count_advective_particles() const
{
return m_advected_particles.size();
Expand Down

0 comments on commit 8763ad3

Please sign in to comment.