From d2cdbfcb840cb62e65e3d842ac28db385e27352f Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 24 Jan 2020 00:15:02 +0800 Subject: [PATCH] add "=default" after "~PlugIn()" --- inc/hgl/plugin/PlugIn.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/hgl/plugin/PlugIn.h b/inc/hgl/plugin/PlugIn.h index cf8ecd1..3ff1008 100644 --- a/inc/hgl/plugin/PlugIn.h +++ b/inc/hgl/plugin/PlugIn.h @@ -3,14 +3,14 @@ #include 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;}