Index: src/ResolvExpr/CandidateFinder.cpp
===================================================================
--- src/ResolvExpr/CandidateFinder.cpp	(revision e0e9a0be9170b7c4033834533d5ce2734166eb97)
+++ src/ResolvExpr/CandidateFinder.cpp	(revision 417117ea3f54c45c0a3977a8ca6d9f0924f73be9)
@@ -370,7 +370,5 @@
 							// push empty tuple expression
 							newResult.parent = i;
-							std::vector< ast::ptr< ast::Expr > > emptyList;
-							newResult.expr = 
-								new ast::TupleExpr{ CodeLocation{}, move( emptyList ) };
+							newResult.expr = new ast::TupleExpr{ CodeLocation{}, {} };
 							argType = newResult.expr->result;
 						} else {
Index: src/ResolvExpr/ResolveTypeof.cc
===================================================================
--- src/ResolvExpr/ResolveTypeof.cc	(revision e0e9a0be9170b7c4033834533d5ce2734166eb97)
+++ src/ResolvExpr/ResolveTypeof.cc	(revision 417117ea3f54c45c0a3977a8ca6d9f0924f73be9)
@@ -153,5 +153,5 @@
 			}
 
-			return newType;
+			return newType.release();
 		}
 	};
Index: src/ResolvExpr/Resolver.cc
===================================================================
--- src/ResolvExpr/Resolver.cc	(revision e0e9a0be9170b7c4033834533d5ce2734166eb97)
+++ src/ResolvExpr/Resolver.cc	(revision 417117ea3f54c45c0a3977a8ca6d9f0924f73be9)
@@ -1109,5 +1109,5 @@
 		
 		// set up and resolve expression cast to void
-		ast::CastExpr * untyped = new ast::CastExpr{ expr };
+		ast::ptr< ast::CastExpr > untyped = new ast::CastExpr{ expr };
 		CandidateRef choice = findUnfinishedKindExpression( 
 			untyped, symtab, "", anyCandidate, ResolvMode::withAdjustment() );
@@ -1248,5 +1248,5 @@
 	};
 
-	void resolve( std::list< ast::ptr<ast::Decl> >& translationUnit ) {
+	void resolve( std::list< ast::ptr< ast::Decl > >& translationUnit ) {
 		ast::Pass< Resolver_new > resolver;
 		accept_all( translationUnit, resolver );
@@ -1282,5 +1282,5 @@
 		ast::ptr< ast::FunctionDecl > ret = functionDecl;
 		for ( unsigned i = 0; i < functionDecl->type->params.size(); ++i ) {
-			const ast::ptr<ast::DeclWithType> & d = functionDecl->type->params[i];
+			const ast::ptr< ast::DeclWithType > & d = functionDecl->type->params[i];
 
 			if ( const ast::ObjectDecl * obj = d.as< ast::ObjectDecl >() ) {
@@ -1299,5 +1299,5 @@
 			}
 		}
-		return ret.get();
+		return ret.release();
 	}
 
