summaryrefslogtreecommitdiff
path: root/modules/remote-filesystem/c++/easy.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 14:21:43 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 14:21:43 +0100
commite2071b41bf8547057c485fea2a8d3aed7bb710ed (patch)
tree5d9da28b4f78ced7fa75d32645dbf747a8ee4454 /modules/remote-filesystem/c++/easy.hpp
parenta230ae486025447f5a49b14b96854e5f0d426f6c (diff)
downloadforstio-forstio-master.tar.gz
Increasing buff sizeHEADmaster
Diffstat (limited to 'modules/remote-filesystem/c++/easy.hpp')
-rw-r--r--modules/remote-filesystem/c++/easy.hpp2
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);