X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fapps%2FPswGen%2FGenerator%2Figenerator.h;h=f33104913ac6cd7ba3c2e3f008bed3b2b4b289f6;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=3d1db68b0228640e33993707831a737f4dd21e8e;hpb=5dbab6f7a87661995e93ed6b632ae711434f20c0;p=evaf
diff --git a/src/apps/PswGen/Generator/igenerator.h b/src/apps/PswGen/Generator/igenerator.h
index 3d1db68..f331049 100644
--- a/src/apps/PswGen/Generator/igenerator.h
+++ b/src/apps/PswGen/Generator/igenerator.h
@@ -3,7 +3,7 @@
* @brief Interface for password generator modules
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -41,6 +41,11 @@ struct iGenerator
ALPHANUMERIC = 0x01 ///< Generated password contains only alphanumeric characters
};
+ /**
+ * Empty virtual destructor
+ */
+ virtual ~iGenerator() {}
+
/**
* Generates a strong password
* @param name Name of the password