From f6807d73d018683f339710058e30b95240050688 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Wed, 8 Jul 2009 16:24:38 -0700 Subject: [PATCH] Add a virtual destructor to the TtsEngine class. --- include/tts/TtsEngine.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tts/TtsEngine.h b/include/tts/TtsEngine.h index 21cb73bc55273..ed084caae7a03 100644 --- a/include/tts/TtsEngine.h +++ b/include/tts/TtsEngine.h @@ -80,6 +80,8 @@ enum tts_support_result { class TtsEngine { public: + virtual ~TtsEngine() {} + // Initialize the TTS engine and returns whether initialization succeeded. // @param synthDoneCBPtr synthesis callback function pointer // @return TTS_SUCCESS, or TTS_FAILURE