aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/qolmutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/qolmutils.cpp b/lib/crypto/qolmutils.cpp
index a486ea0f..4479932e 100644
--- a/lib/crypto/qolmutils.cpp
+++ b/lib/crypto/qolmutils.cpp
@@ -12,7 +12,7 @@ using namespace Quotient;
QByteArray Quotient::toKey(const Quotient::PicklingMode &mode)
{
if (std::holds_alternative<Quotient::Unencrypted>(mode)) {
- return "";
+ return {};
}
return std::get<Quotient::Encrypted>(mode).key;
}