From: ThorstenB Date: Mon, 23 Apr 2012 17:41:09 +0000 (+0200) Subject: Revert "Add virtual destructor to SGReferenced." X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a113bdb44abf8d4dabe47c9b203c248dc3d51bc;p=simgear.git Revert "Add virtual destructor to SGReferenced." As suggested by Mathias, will use different solution. This reverts commit 4abcf3215f6322c467718c69d0968e123231f9fa. --- diff --git a/simgear/structure/SGReferenced.hxx b/simgear/structure/SGReferenced.hxx index 343d4c4c..6a3038f3 100644 --- a/simgear/structure/SGReferenced.hxx +++ b/simgear/structure/SGReferenced.hxx @@ -32,8 +32,6 @@ class SGReferenced { public: SGReferenced(void) : _refcount(0u) {} - virtual ~SGReferenced() - {} /// Do not copy reference counts. Each new object has it's own counter SGReferenced(const SGReferenced&) : _refcount(0u) {}