Switch to side-by-side view
--- a/src/rcldb/stemdb.h +++ b/src/rcldb/stemdb.h @@ -66,6 +66,7 @@ : m_stemmer(lang), m_lang(lang) { } + virtual ~SynTermTransStem() {} virtual std::string operator()(const std::string& in) { string out = m_stemmer(in);
--- a/src/rcldb/stemdb.h +++ b/src/rcldb/stemdb.h @@ -66,6 +66,7 @@ : m_stemmer(lang), m_lang(lang) { } + virtual ~SynTermTransStem() {} virtual std::string operator()(const std::string& in) { string out = m_stemmer(in);