aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/UuidIntegration.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-08-15 19:20:55 -0700
committerrtk0c <[email protected]>2021-08-15 19:20:55 -0700
commitb79a244d76c66287c6228e3845aa3af91a847f5d (patch)
treea6a425395ffc534dbc5532b274543c14dc5d53c5 /core/src/Utils/IO/UuidIntegration.hpp
parentc51a61c0f0de65a3e64f589816a56f21ed4e8528 (diff)
More work on IO adapters (not working)
Diffstat (limited to 'core/src/Utils/IO/UuidIntegration.hpp')
-rw-r--r--core/src/Utils/IO/UuidIntegration.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/Utils/IO/UuidIntegration.hpp b/core/src/Utils/IO/UuidIntegration.hpp
index 202e021..9cba4b1 100644
--- a/core/src/Utils/IO/UuidIntegration.hpp
+++ b/core/src/Utils/IO/UuidIntegration.hpp
@@ -1,12 +1,11 @@
#pragma once
-#include "Utils/IO/DataStream.hpp"
-
#include <uuid/uuid.h>
#include <cstddef>
#include <cstdint>
#include <iterator>
+namespace DataStreamIntegrations {
void ReadFromDataStream(DataStream& s, uuids::uuid& uuid)
{
uint8_t buffer[16];
@@ -20,3 +19,4 @@ void WriteToDataStream(DataStream& s, const uuids::uuid& uuid)
auto gslSpan = uuid.as_bytes();
s.WriteBytes(gslSpan.size(), gslSpan.data());
}
+} // namespace DataStreamIntegrations