From 3d8e2e5e5c99ba61986122e57af49db8d14ac775 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 24 Oct 2013 00:24:55 +0200 Subject: [PATCH] Add virtual destructor to GarbageCollect2Stack to silence GCC warning. --- gen/passes/GarbageCollect2Stack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gen/passes/GarbageCollect2Stack.cpp b/gen/passes/GarbageCollect2Stack.cpp index 7b70d678..21cb96fc 100644 --- a/gen/passes/GarbageCollect2Stack.cpp +++ b/gen/passes/GarbageCollect2Stack.cpp @@ -146,6 +146,7 @@ namespace { : TypeInfoArgNr(typeInfoArgNr), SafeToDelete(safeToDelete), ReturnsArray(returnsArray) {} + virtual ~FunctionInfo() {} }; class ArrayFI : public FunctionInfo {