From 7442d618e7f82acdc8f986baca040033c1f411f9 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 15 Jul 2015 16:01:37 -1000 Subject: [PATCH] Added virtual destructor to IAES --- PKGBUILD | 2 +- include/aes.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index e82fc07..57c6961 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # PKGBUILD for libAthena _pkgname=libathena pkgname=$_pkgname-git -pkgver=2.0.0.8.g24fedff +pkgver=2.0.0.9.gf3ba881 pkgrel=1 pkgdesc="Basic cross platform IO library" arch=('i686' 'x86_64') diff --git a/include/aes.hpp b/include/aes.hpp index 803f3f4..77d4dd1 100644 --- a/include/aes.hpp +++ b/include/aes.hpp @@ -11,6 +11,7 @@ namespace Athena class IAES { public: + virtual ~IAES() {} virtual void encrypt(const uint8_t* iv, const uint8_t* inbuf, uint8_t* outbuf, uint64_t len)=0; virtual void decrypt(const uint8_t* iv, const uint8_t* inbuf, uint8_t* outbuf, uint64_t len)=0; virtual void setKey(const uint8_t* key)=0;