From c6a54ce0ce22fece76c96c214f6640d657d56103 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 21 Jul 2009 11:35:31 +0000 Subject: Added virtual destructor to avoid compiler warning. --- include/PropSet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index bb24e2ac4..c95202174 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -16,6 +16,7 @@ class PropertyGet { public: virtual char *ToString() const=0; // Caller must delete[] the return value virtual int GetInt(const char *key, int defaultValue=0) const=0; + virtual ~PropertyGet() {} }; #ifdef SCI_NAMESPACE -- cgit v1.2.3