Skip to content

Commit 5005c5b

Browse files
committed
Add CloseFile override for ZipFileSystem
add gitignore for out (default for CPM/FetchContent/Visual Studio in-source builds)
1 parent 9fdf5ae commit 5005c5b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@
3030
/build
3131
/examples/build
3232
.vscode/settings.json
33+
34+
/out/**

include/vfspp/ZipFileSystem.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,13 @@ class ZipFileSystem final : public IFileSystem
144144
{
145145
return false;
146146
}
147-
147+
/*
148+
* Close file
149+
*/
150+
virtual void CloseFile(IFilePtr file) override
151+
{
152+
//NO-OP
153+
}
148154
/*
149155
* Check if file exists on filesystem
150156
*/

0 commit comments

Comments
 (0)