diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 14:08:43 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 14:08:43 +0100 |
| commit | a230ae486025447f5a49b14b96854e5f0d426f6c (patch) | |
| tree | 75daddc07f19a3df4d2ee3ab50b523b5f9ac1650 /modules | |
| parent | 6718adc7571d03c2d0813d7548daefc848e77e40 (diff) | |
| download | forstio-forstio-a230ae486025447f5a49b14b96854e5f0d426f6c.tar.gz | |
Fixing ordering in args
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> |
