aboutsummaryrefslogtreecommitdiff
path: root/src/common/password.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/password.cpp')
-rw-r--r--src/common/password.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/password.cpp b/src/common/password.cpp
index 6ff160595..a8d5141dc 100644
--- a/src/common/password.cpp
+++ b/src/common/password.cpp
@@ -233,6 +233,10 @@ namespace tools
: m_password(std::move(password))
{
}
+ password_container::password_container(const epee::wipeable_string& password) noexcept
+ : m_password(password)
+ {
+ }
password_container::~password_container() noexcept
{