aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2018-08-18 14:11:32 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2018-08-20 12:20:57 -0700
commit22240ddc89af01c701b046ecc5c5cd465d51ca0e (patch)
tree2553415d9a4e55a92b03fed26835de853cb15dc6
parent2835654ba2dc992c3b40d748d7a7e0bf3a72d727 (diff)
XBDateTime.h: Fix compiler warning
Warning was: memory:1814:94: warning: destructor called on non-final 'CDateTime' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
-rw-r--r--xbmc/XBDateTime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/XBDateTime.h b/xbmc/XBDateTime.h
index 8c5846631f..510f99dd32 100644
--- a/xbmc/XBDateTime.h
+++ b/xbmc/XBDateTime.h
@@ -79,7 +79,7 @@ private:
};
/// \brief DateTime class, which uses FILETIME as it's base.
-class CDateTime : public IArchivable
+class CDateTime final : public IArchivable
{
public:
CDateTime();