diff --git a/demos/TTSCppFrontend/src/front/front_interface.h b/demos/TTSCppFrontend/src/front/front_interface.h index 4bc202c19..f766ac0eb 100644 --- a/demos/TTSCppFrontend/src/front/front_interface.h +++ b/demos/TTSCppFrontend/src/front/front_interface.h @@ -29,7 +29,7 @@ namespace ppspeech { class FrontEngineInterface : public TextNormalizer { public: - FrontEngineInterface(std::string conf) : _conf_file(conf) { + explicit FrontEngineInterface(std::string conf) : _conf_file(conf) { TextNormalizer(); _jieba = nullptr; _initialed = false;