mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Make streams and vfs and http shared_ptr
This commit is contained in:
@@ -9,8 +9,6 @@ int main(int argc, char** argv)
|
||||
VFSPath dest = fs.SystemToVFSPath(argv[2]);
|
||||
auto srcs = fs.OpenFile(src,"rb");
|
||||
auto dests = fs.OpenFile(dest,"wb");
|
||||
srcs->CopyTo(*dests);
|
||||
srcs->CopyTo(dests);
|
||||
|
||||
delete srcs;
|
||||
delete dests;
|
||||
}
|
||||
Reference in New Issue
Block a user