From 5bedb4227af4beb5d49764640fcd9a68b62d83e8 Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Wed, 21 Jan 2015 16:17:29 -0500 Subject: [PATCH] rtt: Use virtual destructor for OperationCaller It has virtual functions but not a virtual destructor, which leads to compile errors with certain compilers and options. --- rtt/OperationCaller.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtt/OperationCaller.hpp b/rtt/OperationCaller.hpp index e3b95f6..9d3b9cf 100644 --- a/rtt/OperationCaller.hpp +++ b/rtt/OperationCaller.hpp @@ -314,7 +314,7 @@ namespace RTT /** * Clean up the OperationCaller object. */ - ~OperationCaller() + virtual ~OperationCaller() { } -- 2.1.2