Skip to content

Commit 4767028

Browse files
committed
Updated more files to have correct archive entry type
1 parent c97b67c commit 4767028

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/nbl/system/CFileArchive.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CFileArchive : public IFileArchive
105105
}
106106

107107
protected:
108-
CFileArchive(path&& _defaultAbsolutePath, system::logger_opt_smart_ptr&& logger, core::vector<IFileArchive::SFileList::SEntry> _items) :
108+
CFileArchive(path&& _defaultAbsolutePath, system::logger_opt_smart_ptr&& logger, core::vector<IFileArchive::SFileList::SEntry>&& _items) :
109109
IFileArchive(std::move(_defaultAbsolutePath),std::move(logger))
110110
{
111111
auto itemsSharedPtr = std::make_shared<std::vector<IFileArchive::SFileList::SEntry>>(std::move(_items));

src/nbl/system/CArchiveLoaderTar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CArchiveLoaderTar final : public IArchiveLoader
1414
class CArchive final : public CFileArchive
1515
{
1616
public:
17-
CArchive(core::smart_refctd_ptr<IFile>&& _file, system::logger_opt_smart_ptr&& logger, core::vector<SListEntry>&& _items) :
17+
CArchive(core::smart_refctd_ptr<IFile>&& _file, system::logger_opt_smart_ptr&& logger, core::vector<SFileList::SEntry>&& _items) :
1818
CFileArchive(path(_file->getFileName()),std::move(logger),std::move(_items)), m_file(std::move(_file)) {}
1919

2020
protected:

src/nbl/system/CArchiveLoaderZip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class CArchiveLoaderZip final : public IArchiveLoader
3939
CArchive(
4040
core::smart_refctd_ptr<IFile>&& _file,
4141
system::logger_opt_smart_ptr&& logger,
42-
core::vector<SListEntry>&& _items,
42+
core::vector<SFileList::SEntry>&& _items,
4343
core::vector<SZIPFileHeader>&& _itemsMetadata
4444
) : CFileArchive(path(_file->getFileName()),std::move(logger),std::move(_items)),
4545
m_file(std::move(_file)), m_itemsMetadata(std::move(_itemsMetadata)), m_password("")

0 commit comments

Comments
 (0)