move Stream constructor impl

This commit is contained in:
2025-02-26 10:22:41 +01:00
parent 2097207c6b
commit 2be6b319c5
2 changed files with 7 additions and 2 deletions

View File

@@ -24,8 +24,8 @@ class Stream {
public:
Stream() {}
Stream(IOInterface<IOTag>&& a_Interface) : m_Interface(std::move(a_Interface)) {}
Stream(Stream&& a_Stream) : m_Dispatcher(std::move(a_Stream.m_Dispatcher)), m_Interface(std::move(a_Stream.m_Interface)) {}
Stream(IOInterface<IOTag>&& a_Interface);
Stream(Stream&& a_Stream);
void RecieveMessages();
void SendMessage(const MessageBase& a_Message);