aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-07-13 15:17:13 -0500
committerSubv <subv2112@gmail.com>2014-07-13 15:17:13 -0500
commit87f830ca89d4ab448a3dcf25f0475575cfed247b (patch)
tree2ddb3480479fcd72e360a0fd1b2acf4d893a90f0
parent9ccce986617be91e31ae71814a2c57df34c86863 (diff)
Fix a warning about abstract class not having a virtual destructor
-rw-r--r--src/server/shared/Database/SQLOperation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/shared/Database/SQLOperation.h b/src/server/shared/Database/SQLOperation.h
index 64fc64e2c2e..4d6e349449d 100644
--- a/src/server/shared/Database/SQLOperation.h
+++ b/src/server/shared/Database/SQLOperation.h
@@ -57,6 +57,8 @@ class SQLOperation
{
public:
SQLOperation(): m_conn(NULL) { }
+ virtual ~SQLOperation() { }
+
virtual int call()
{
Execute();