VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format/FormatCom.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-09 02:04:11 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:32 +0100
commitd6817f941a1218aa1564da158f87ac7ec4434396 (patch)
treefe60e6a0365d727bd4197673302bd9326187c795 /src/Format/FormatCom.cpp
parentf19cfb336150358214572a35ebe6c97c4975d6a0 (diff)
downloadVeraCrypt-d6817f941a1218aa1564da158f87ac7ec4434396.tar.gz
VeraCrypt-d6817f941a1218aa1564da158f87ac7ec4434396.zip
Static Code Analysis : Add virtual attribute to destructor of classes that have virtual methods inherited from a base class
Diffstat (limited to 'src/Format/FormatCom.cpp')
-rw-r--r--src/Format/FormatCom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Format/FormatCom.cpp b/src/Format/FormatCom.cpp
index df0fc1e9..ea9c8fed 100644
--- a/src/Format/FormatCom.cpp
+++ b/src/Format/FormatCom.cpp
@@ -35,7 +35,7 @@ public:
InterlockedIncrement (&ObjectCount);
}
- ~TrueCryptFormatCom ()
+ virtual ~TrueCryptFormatCom ()
{
if (InterlockedDecrement (&ObjectCount) == 0)
PostThreadMessage (MessageThreadId, WM_APP, 0, 0);