Switch to cmake + vcpkg, builds on linux, windows needs verification.
Code has been modified to be portable.
This commit is contained in:
parent
c1a5ac1aad
commit
49f6619a4e
34 changed files with 678 additions and 327 deletions
|
|
@ -19,7 +19,11 @@ namespace Botan {
|
|||
|
||||
class PasswordManagerException: public std::exception {
|
||||
public:
|
||||
using std::exception::exception; //(char const* const _Message);
|
||||
PasswordManagerException() = default;
|
||||
explicit PasswordManagerException(const char *message) : m_message(message) {}
|
||||
const char *what() const noexcept override { return m_message.c_str(); }
|
||||
private:
|
||||
std::string m_message;
|
||||
};
|
||||
|
||||
class PasswordManagerLockedException: public PasswordManagerException {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue