diff --git a/src/rime/config/plugins.h b/src/rime/config/plugins.h index 7d965a918..451b043bf 100644 --- a/src/rime/config/plugins.h +++ b/src/rime/config/plugins.h @@ -17,6 +17,8 @@ class ConfigCompilerPlugin { typedef bool Review(ConfigCompiler* compiler, an resource); + virtual ~ConfigCompilerPlugin() = default; + virtual Review ReviewCompileOutput = 0; virtual Review ReviewLinkOutput = 0; }; @@ -57,7 +59,7 @@ struct ResourceType; class SaveOutputPlugin : public ConfigCompilerPlugin { public: SaveOutputPlugin(const ResourceType& output_resource); - ~SaveOutputPlugin(); + virtual ~SaveOutputPlugin(); Review ReviewCompileOutput; Review ReviewLinkOutput;