From 2728d8311e7a361f431e9ed41d1e91f205f58589 Mon Sep 17 00:00:00 2001 From: wyy Date: Thu, 5 Dec 2013 22:13:22 -0800 Subject: [PATCH] ci for save --- src/ISegment.hpp | 4 ++-- src/MixSegment.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ISegment.hpp b/src/ISegment.hpp index 48b8cd5..5099fa0 100644 --- a/src/ISegment.hpp +++ b/src/ISegment.hpp @@ -6,8 +6,8 @@ namespace CppJieba { class ISegment { - //public: - // virtual ~ISegment(){}; + public: + virtual ~ISegment(){}; public: virtual bool cut(Unicode::const_iterator begin , Unicode::const_iterator end, vector& res) const = 0; virtual bool cut(const string& str, vector& res) const = 0; diff --git a/src/MixSegment.hpp b/src/MixSegment.hpp index 367b224..6749f7f 100644 --- a/src/MixSegment.hpp +++ b/src/MixSegment.hpp @@ -57,6 +57,7 @@ namespace CppJieba //{ // return SegmentBase::cut(str, res); //} + using SegmentBase::cut; bool cut(Unicode::const_iterator begin, Unicode::const_iterator end, vector& res)const { if(!_getInitFlag())