Index: src/SymTab/Validate.cc
===================================================================
--- src/SymTab/Validate.cc	(revision d16d159c20c0dfd7fa228ef48ab2a37a11be43c6)
+++ src/SymTab/Validate.cc	(revision 12d2dc8fad3691528e0f541fe5bd38046cdc9877)
@@ -311,5 +311,5 @@
 		} // if
 		// Always remove the hoisted aggregate from the inner structure.
-		GuardAction( [this, aggregateDecl]() { filter( aggregateDecl->members, isStructOrUnion, false ); } );
+		GuardAction( [aggregateDecl]() { filter( aggregateDecl->members, isStructOrUnion, false ); } );
 	}
 
