replace emplace with insert

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-07-17 16:57:52 +03:00
parent 2ea4a78541
commit fe73d696cb
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -158,7 +158,7 @@ class ExportToZipTask : public Task {
virtual ~ExportToZipTask() = default;
void setExcludeFiles(QStringList excludeFiles) { m_exclude_files = excludeFiles; }
void addExtraFile(QString fileName, QByteArray data) { m_extra_files.emplace(fileName, data); }
void addExtraFile(QString fileName, QByteArray data) { m_extra_files.insert(fileName, data); }
protected:
virtual void executeTask() override;