From d0a12fed6d0c895354fbec75c32acf33d61834a7 Mon Sep 17 00:00:00 2001 From: saturneric Date: Thu, 28 Nov 2024 23:36:16 +0100 Subject: [PATCH] fix: solve build issue on develop ci --- src/m_email/EMailBasicGpgOpera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m_email/EMailBasicGpgOpera.cpp b/src/m_email/EMailBasicGpgOpera.cpp index b33693a..70fa1ad 100644 --- a/src/m_email/EMailBasicGpgOpera.cpp +++ b/src/m_email/EMailBasicGpgOpera.cpp @@ -175,7 +175,7 @@ auto EncryptPlainText(int channel, const QStringList& keys, vmime::fields::CONTENT_DISPOSITION); encrypted_data_content_disp_header_field->setValue("inline"); encrypted_data_content_disp_header_field->setFilename( - vmime::word({"encrypted.asc"})); + vmime::word(std::string{"encrypted.asc"})); auto encrypted_data_body = encrypted_data_part->getBody(); auto encrypted_data_content = @@ -346,7 +346,7 @@ auto EncryptEMLData(int channel, const QStringList& keys, vmime::fields::CONTENT_DISPOSITION); encrypted_data_content_disp_header_field->setValue("inline"); encrypted_data_content_disp_header_field->setFilename( - vmime::word({"encrypted.asc"})); + vmime::word(std::string{"encrypted.asc"})); auto encrypted_data_body = encrypted_data_part->getBody(); auto encrypted_data_content =