From 53bc279dea3544f9ffd22f805ad2f6bbdd9e60fa Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Sat, 23 Jul 2016 20:49:27 +0800 Subject: [PATCH] fix compiler warning --- include/cppjieba/SegmentTagged.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/cppjieba/SegmentTagged.hpp b/include/cppjieba/SegmentTagged.hpp index 685d174..4d99a31 100644 --- a/include/cppjieba/SegmentTagged.hpp +++ b/include/cppjieba/SegmentTagged.hpp @@ -5,8 +5,6 @@ namespace cppjieba { -struct DictTrie; - class SegmentTagged : public SegmentBase{ public: SegmentTagged() { @@ -16,7 +14,7 @@ class SegmentTagged : public SegmentBase{ virtual bool Tag(const string& src, vector >& res) const = 0; - virtual const struct DictTrie* GetDictTrie() const = 0; + virtual const DictTrie* GetDictTrie() const = 0; }; // class SegmentTagged