diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/remote-filesystem/c++/easy.hpp | 2 | ||||
| -rw-r--r-- | modules/remote-filesystem/examples/remote_read_file.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/remote-filesystem/c++/easy.hpp b/modules/remote-filesystem/c++/easy.hpp index bfee13b..c7e9bb9 100644 --- a/modules/remote-filesystem/c++/easy.hpp +++ b/modules/remote-filesystem/c++/easy.hpp @@ -31,7 +31,7 @@ error_or<void> encode_and_write_file(const std::filesystem::path& p_, const data auto& srv = eo_srv.get_value(); id<Sch> fid{0u}; - auto eo_write = srv->send(fid, dat); + auto eo_write = srv->send(dat, fid); if(eo_write.is_error()){ return eo_write; } diff --git a/modules/remote-filesystem/examples/remote_read_file.cpp b/modules/remote-filesystem/examples/remote_read_file.cpp index 435c32e..5b7bad0 100644 --- a/modules/remote-filesystem/examples/remote_read_file.cpp +++ b/modules/remote-filesystem/examples/remote_read_file.cpp @@ -1,4 +1,4 @@ -#include "../c++/transfer.hpp" +#include "../c++/easy.hpp" #include <forstio/codec/simple.hpp> |
