diff options
| -rw-r--r-- | modules/remote-filesystem/c++/easy.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-filesystem/c++/easy.hpp b/modules/remote-filesystem/c++/easy.hpp index c7e9bb9..8bdd2c7 100644 --- a/modules/remote-filesystem/c++/easy.hpp +++ b/modules/remote-filesystem/c++/easy.hpp @@ -8,7 +8,7 @@ namespace saw { namespace easy { template<typename Sch, typename FileEnc, typename Enc = FORSTIO_DEFAULT_DATA_ENCODING> error_or<void> encode_and_write_file(const std::filesystem::path& p_, const data<Sch,Enc>& data_){ - data<Sch, FileEnc> dat; + data<Sch, FileEnc> dat{4096u*1024u}; { codec<Sch, FileEnc> cdc; auto eov = cdc.encode(data_,dat); |
