summaryrefslogtreecommitdiffstats
path: root/indexlib/compressed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/compressed.cpp')
-rw-r--r--indexlib/compressed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexlib/compressed.cpp b/indexlib/compressed.cpp
index a60c3f06e..9c73c304c 100644
--- a/indexlib/compressed.cpp
+++ b/indexlib/compressed.cpp
@@ -53,7 +53,7 @@ memory_manager* get_comp_p() {
compressed_file::compressed_file( std::string base ):
auxdata_( path_concat( base, "table" ) ),
- data_( std::auto_ptr<memory_manager>( new mmap_manager( path_concat( base, "data" ) ) ) )
+ data_( std::unique_ptr<memory_manager>( new mmap_manager( path_concat( base, "data" ) ) ) )
{
if ( auxdata_.empty() ) auxdata_.push_back( 0 );
}