summaryrefslogtreecommitdiffstats
path: root/indexlib/tests/create-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/tests/create-test.cpp')
-rw-r--r--indexlib/tests/create-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexlib/tests/create-test.cpp b/indexlib/tests/create-test.cpp
index beeb7d5f..da3c91ca 100644
--- a/indexlib/tests/create-test.cpp
+++ b/indexlib/tests/create-test.cpp
@@ -14,8 +14,8 @@ void cleanup() {
void simple() {
cleanup();
- std::auto_ptr<indexlib::index> ptr = indexlib::create( fname );
- BOOST_CHECK( ptr.get() );
+ std::unique_ptr<indexlib::index> ptr = indexlib::create( fname );
+ BOOST_CHECK( ptr );
}
test_suite* get_suite() {