summaryrefslogtreecommitdiffstats
path: root/indexlib/leafdatavector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/leafdatavector.cpp')
-rw-r--r--indexlib/leafdatavector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexlib/leafdatavector.cpp b/indexlib/leafdatavector.cpp
index 0dae6555..89b95ab9 100644
--- a/indexlib/leafdatavector.cpp
+++ b/indexlib/leafdatavector.cpp
@@ -45,7 +45,7 @@ typedef mmap_manager leafdatavector_manager;
#endif
leafdatavector::leafdatavector( std::string name ):
- leafs_( std::auto_ptr<memory_manager>( new leafdatavector_manager( path_concat( name, "leafs" ) ) ) ),
+ leafs_( std::unique_ptr<memory_manager>( new leafdatavector_manager( path_concat( name, "leafs" ) ) ) ),
table_( path_concat( name, "table" ) )
{
}