Skip to content

Commit 211bd8b

Browse files
committed
fix
1 parent 0ca1721 commit 211bd8b

6 files changed

+9
-9
lines changed

src/resource/factory/ArrayFactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace LUS {
66
std::shared_ptr<IResource> ResourceFactoryBinaryArrayV0::ReadResource(std::shared_ptr<File> file) {
7-
if (!FileHasValidFormatAndReader()) {
7+
if (!FileHasValidFormatAndReader(file)) {
88
return nullptr;
99
}
1010

src/resource/factory/BlobFactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace LUS {
66
std::shared_ptr<IResource> ResourceFactoryBinaryBlobV0::ReadResource(std::shared_ptr<File> file) {
7-
if (!FileHasValidFormatAndReader()) {
7+
if (!FileHasValidFormatAndReader(file)) {
88
return nullptr;
99
}
1010

src/resource/factory/DisplayListFactory.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ uint32_t ResourceFactoryDisplayList::GetCombineLERPValue(std::string valStr) {
129129
}
130130

131131
std::shared_ptr<IResource> ResourceFactoryBinaryDisplayListV0::ReadResource(std::shared_ptr<File> file) {
132-
if (!FileHasValidFormatAndReader()) {
132+
if (!FileHasValidFormatAndReader(file)) {
133133
return nullptr;
134134
}
135135

@@ -166,7 +166,7 @@ std::shared_ptr<IResource> ResourceFactoryBinaryDisplayListV0::ReadResource(std:
166166
}
167167

168168
std::shared_ptr<IResource> ResourceFactoryXMLDisplayListV0::ReadResource(std::shared_ptr<File> file) {
169-
if (!FileHasValidFormatAndReader()) {
169+
if (!FileHasValidFormatAndReader(file)) {
170170
return nullptr;
171171
}
172172

src/resource/factory/MatrixFactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace LUS {
66
std::shared_ptr<IResource> ResourceFactoryBinaryMatrixV0::ReadResource(std::shared_ptr<File> file) {
7-
if (!FileHasValidFormatAndReader()) {
7+
if (!FileHasValidFormatAndReader(file)) {
88
return nullptr;
99
}
1010

src/resource/factory/TextureFactory.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace LUS {
66

77
std::shared_ptr<IResource> ResourceFactoryBinaryTextureV0::ReadResource(std::shared_ptr<File> file) {
8-
if (!FileHasValidFormatAndReader()) {
8+
if (!FileHasValidFormatAndReader(file)) {
99
return nullptr;
1010
}
1111

@@ -23,7 +23,7 @@ std::shared_ptr<IResource> ResourceFactoryBinaryTextureV0::ReadResource(std::sha
2323
}
2424

2525
std::shared_ptr<IResource> ResourceFactoryBinaryTextureV1::ReadResource(std::shared_ptr<File> file) {
26-
if (!FileHasValidFormatAndReader()) {
26+
if (!FileHasValidFormatAndReader(file)) {
2727
return nullptr;
2828
}
2929

src/resource/factory/VertexFactory.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace LUS {
66
std::shared_ptr<IResource> ResourceFactoryBinaryVertexV0::ReadResource(std::shared_ptr<File> file) {
7-
if (!FileHasValidFormatAndReader()) {
7+
if (!FileHasValidFormatAndReader(file)) {
88
return nullptr;
99
}
1010

@@ -32,7 +32,7 @@ std::shared_ptr<IResource> ResourceFactoryBinaryVertexV0::ReadResource(std::shar
3232
}
3333

3434
std::shared_ptr<IResource> ResourceFactoryXMLVertexV0::ReadResource(std::shared_ptr<File> file) {
35-
if (!FileHasValidFormatAndReader()) {
35+
if (!FileHasValidFormatAndReader(file)) {
3636
return nullptr;
3737
}
3838

0 commit comments

Comments
 (0)