add "=default" after "~PlugIn()"
This commit is contained in:
parent
0a0d23c08c
commit
d2cdbfcb84
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
#include<hgl/type/BaseString.h>
|
#include<hgl/type/BaseString.h>
|
||||||
namespace hgl
|
namespace hgl
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* 插件基类
|
* 插件基类
|
||||||
*/
|
*/
|
||||||
class PlugIn ///插件
|
class PlugIn ///插件
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
uint ref_count;
|
uint ref_count;
|
||||||
|
|
||||||
uint ver;
|
uint ver;
|
||||||
@ -33,7 +33,7 @@ namespace hgl
|
|||||||
ver=0;
|
ver=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~PlugIn();
|
virtual ~PlugIn()=default;
|
||||||
|
|
||||||
uint add_ref(){return ++ref_count;}
|
uint add_ref(){return ++ref_count;}
|
||||||
uint release_ref(){return --ref_count;}
|
uint release_ref(){return --ref_count;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user