From 3b1e4bbb3df6a0de8aa0693038449c6f0359ce91 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 23 Jan 2024 10:13:00 +0900 Subject: Replace auto_ptr Signed-off-by: Michele Calgaro (cherry picked from commit d2f343cc239e1fa25c9581cf35bada96692c41db) --- indexlib/tokenizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indexlib/tokenizer.h') diff --git a/indexlib/tokenizer.h b/indexlib/tokenizer.h index 2494f297..9916df66 100644 --- a/indexlib/tokenizer.h +++ b/indexlib/tokenizer.h @@ -20,7 +20,7 @@ class tokenizer { virtual std::vector do_string_to_words( const char* ) = 0; }; -std::auto_ptr get_tokenizer( std::string ); +std::unique_ptr get_tokenizer( std::string ); }} -- cgit v1.2.3