Forbid instanciation of static classes
This commit is contained in:
@@ -19,7 +19,11 @@ class KeyManager {
|
||||
//! hiding the input.
|
||||
static std::string PasswordPrompt();
|
||||
|
||||
//! The encryption key
|
||||
static Key key;
|
||||
|
||||
// No instanciation! >:(
|
||||
KeyManager() {};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user