From 27841a536354808d56544467519d3f241a0623c0 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 20 Feb 2009 16:12:22 -0500 Subject: [PATCH] Compile linux --- db/queryoptimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/queryoptimizer.cpp b/db/queryoptimizer.cpp index b7c00646751..dbfebddbb12 100644 --- a/db/queryoptimizer.cpp +++ b/db/queryoptimizer.cpp @@ -306,7 +306,7 @@ namespace mongo { if ( (*i)->done() ) return *i; assert( false ); - return auto_ptr< QueryOp >( 0 ); + return shared_ptr< QueryOp >( reinterpret_cast< QueryOp* >( 0 ) ); } class CountOp : public QueryOp {