Skip to content

Commit

Permalink
* Add missing destructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
moriyoshi committed Nov 19, 2008
1 parent 310ff8d commit 3386e27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boost/php/detail/module_hooks.hpp
Expand Up @@ -57,11 +57,13 @@ template<typename Tmod_>
struct module_hooks
{
struct initializer {
virtual ~initializer() {}
virtual void operator()(typename Tmod_::handler& mod TSRMLS_DC) = 0;
initializer* next;
};

struct finalizer {
virtual ~finalizer() {}
virtual void operator()(typename Tmod_::handler& mod TSRMLS_DC) = 0;
finalizer* next;
};
Expand Down

0 comments on commit 3386e27

Please sign in to comment.