summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 11:29:53 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 11:29:53 +0100
commit8867bee7244c3a67fe3eeeffeac31c80babf5e9c (patch)
treea1cc4a86f9d93b2424e15110a390f4f7157dea72 /modules
parentc1d73cbe17650c834faee5a0098a9499b39a2835 (diff)
downloadforstio-forstio-8867bee7244c3a67fe3eeeffeac31c80babf5e9c.tar.gz
Moved struct def from remote to transfer
Diffstat (limited to 'modules')
-rw-r--r--modules/remote-filesystem/c++/remote.hpp3
-rw-r--r--modules/remote-filesystem/c++/transfer.hpp5
2 files changed, 3 insertions, 5 deletions
diff --git a/modules/remote-filesystem/c++/remote.hpp b/modules/remote-filesystem/c++/remote.hpp
index caae2a9..6660a36 100644
--- a/modules/remote-filesystem/c++/remote.hpp
+++ b/modules/remote-filesystem/c++/remote.hpp
@@ -8,9 +8,6 @@
#include "transfer.hpp"
namespace saw {
-namespace rmt {
-struct File {};
-}
template<>
class remote_address<rmt::File> {
diff --git a/modules/remote-filesystem/c++/transfer.hpp b/modules/remote-filesystem/c++/transfer.hpp
index 40fc2e3..59363ed 100644
--- a/modules/remote-filesystem/c++/transfer.hpp
+++ b/modules/remote-filesystem/c++/transfer.hpp
@@ -1,7 +1,5 @@
#pragma once
-#include "remote.hpp"
-
#include <forstio/buffer.hpp>
#include <forstio/remote/transfer.hpp>
@@ -10,6 +8,9 @@
#include <cstring>
namespace saw {
+namespace rmt {
+struct File {};
+}
template<typename Schema, typename Encoding>
class data_server<Schema, Encoding, rmt::File> final : public i_data_server<rmt::File> {
private: