summaryrefslogtreecommitdiffstats
path: root/indexlib/tokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/tokenizer.h')
-rw-r--r--indexlib/tokenizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexlib/tokenizer.h b/indexlib/tokenizer.h
index 2494f2973..9916df66a 100644
--- a/indexlib/tokenizer.h
+++ b/indexlib/tokenizer.h
@@ -20,7 +20,7 @@ class tokenizer {
virtual std::vector<std::string> do_string_to_words( const char* ) = 0;
};
-std::auto_ptr<tokenizer> get_tokenizer( std::string );
+std::unique_ptr<tokenizer> get_tokenizer( std::string );
}}