From c70dcdd2a99066e26edfbffef6c2268546354f04 Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Thu, 24 Sep 2015 11:48:50 +0800 Subject: [PATCH] fix bug about header file including protection --- src/Jieba.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jieba.hpp b/src/Jieba.hpp index c4dce81..57aed80 100644 --- a/src/Jieba.hpp +++ b/src/Jieba.hpp @@ -1,3 +1,4 @@ +#ifndef CPPJIEAB_JIEBA_H #define CPPJIEAB_JIEBA_H #include "QuerySegment.hpp" @@ -65,6 +66,8 @@ class Jieba { QuerySegment query_seg_; LevelSegment level_seg_; -}; // class +}; // class Jieba -} // namespace +} // namespace Jieba + +#endif // CPPJIEAB_JIEBA_H