add "=default" after "~PlugIn()"

This commit is contained in:
hyzboy 2020-01-24 00:15:02 +08:00
parent 0a0d23c08c
commit d2cdbfcb84

View File

@ -3,14 +3,14 @@
#include<hgl/type/BaseString.h>
namespace hgl
{
{
/**
*
*/
class PlugIn ///插件
{
protected:
uint ref_count;
uint ver;
@ -33,7 +33,7 @@ namespace hgl
ver=0;
}
virtual ~PlugIn();
virtual ~PlugIn()=default;
uint add_ref(){return ++ref_count;}
uint release_ref(){return --ref_count;}