File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace @_NAMESPACE_@
15
15
{
16
16
public :
17
17
inline CArchive (nbl ::system ::logger_opt_smart_ptr && logger )
18
- : nbl ::system ::CFileArchive (nbl ::system ::path (pathPrefix .data ()),std ::move (logger ), getItemList () ) {}
18
+ : nbl ::system ::CFileArchive (nbl ::system ::path (pathPrefix .data ()),std ::move (logger ), resources ) {}
19
19
20
20
protected :
21
21
file_buffer_t getFileBuffer (const nbl ::system ::IFileArchive ::SListEntry * item ) override
@@ -24,15 +24,10 @@ namespace @_NAMESPACE_@
24
24
return { const_cast < uint8_t * > (found .first ), found .second , nullptr };
25
25
}
26
26
27
- nbl ::core ::vector < nbl ::system ::IFileArchive ::SListEntry > getItemList ()
27
+ inline static const nbl ::core ::vector < nbl ::system ::IFileArchive ::SListEntry > resources
28
28
{
29
- static nbl ::core ::vector < nbl ::system ::IFileArchive ::SListEntry > resources
30
- {
31
29
@_RESOURCES_INIT_LIST_ @
32
- };
33
-
34
- return resources ;
35
- }
30
+ };
36
31
};
37
32
}
38
33
You can’t perform that action at this time.
0 commit comments