Skip to content

Commit

Permalink
Missing virtual destructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Hernando committed Feb 17, 2016
1 parent f4fd9e6 commit e916584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Makefile.in
config.guess
config.h.in
config.h
config.log
config.status
config.sub

Makefile
Expand Down
2 changes: 2 additions & 0 deletions src/music/event.hh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ namespace MUSIC {

class EventHandlerGlobalIndex {
public:
virtual ~EventHandlerGlobalIndex() { }
virtual void operator () (double t, GlobalIndex id) = 0;
};

Expand All @@ -55,6 +56,7 @@ namespace MUSIC {

class EventHandlerLocalIndex {
public:
virtual ~EventHandlerLocalIndex() { }
virtual void operator () (double t, LocalIndex id) = 0;
};

Expand Down

0 comments on commit e916584

Please sign in to comment.