replace emplace with insert
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
2ea4a78541
commit
fe73d696cb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user