Skip to content

Commit

Permalink
dtor of base class must be virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
mkdym committed Oct 26, 2015
1 parent 0e4c7cb commit a79881e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DaemonSvc/singleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Singleton : public boost::noncopyable

protected:
Singleton(){}
~Singleton(){}
virtual ~Singleton(){}

private:
static void init()
Expand Down

0 comments on commit a79881e

Please sign in to comment.