aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/UuidIntegration.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-09-06 00:15:35 -0700
committerrtk0c <[email protected]>2021-09-06 00:15:35 -0700
commit04653742243e4bb6452108cfd0fef2f4afd8f23b (patch)
treea4a5e0cc8d16ffe78859fab9ee5e487a7d22d81e /core/src/Utils/IO/UuidIntegration.hpp
parent70e00f817e9596a746800ba4afec2b7c4ca25142 (diff)
Fix all compile errors, remove OperateIOProxy requirement from DataStream api
Diffstat (limited to 'core/src/Utils/IO/UuidIntegration.hpp')
-rw-r--r--core/src/Utils/IO/UuidIntegration.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/Utils/IO/UuidIntegration.hpp b/core/src/Utils/IO/UuidIntegration.hpp
index d8a0304..d028c50 100644
--- a/core/src/Utils/IO/UuidIntegration.hpp
+++ b/core/src/Utils/IO/UuidIntegration.hpp
@@ -10,18 +10,18 @@
namespace DataStreamAdapters {
struct Uuid
{
- static void ReadFromDataStream(InputDataStream& s, uuids::uuid& uuid)
+ static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid)
{
uint8_t buffer[16];
- s.ReadBytes(16, buffer);
+ stream.ReadBytes(16, buffer);
uuid = uuids::uuid(gsl::span<uint8_t, 16>{ buffer });
}
- static void WriteToDataStream(OutputDataStream& s, const uuids::uuid& uuid)
+ static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid)
{
auto gslSpan = uuid.as_bytes();
- s.WriteBytes(gslSpan.size(), gslSpan.data());
+ stream.WriteBytes(gslSpan.size(), gslSpan.data());
}
};
} // namespace DataStreamAdapters