From 70e00f817e9596a746800ba4afec2b7c4ca25142 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 4 Sep 2021 17:58:56 -0700 Subject: Migrate Template and TableTemplate to use DataStream --- core/src/Utils/IO/UuidIntegration.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/Utils/IO/UuidIntegration.hpp') diff --git a/core/src/Utils/IO/UuidIntegration.hpp b/core/src/Utils/IO/UuidIntegration.hpp index 605f821..d8a0304 100644 --- a/core/src/Utils/IO/UuidIntegration.hpp +++ b/core/src/Utils/IO/UuidIntegration.hpp @@ -10,7 +10,7 @@ namespace DataStreamAdapters { struct Uuid { - void ReadFromDataStream(InputDataStream& s, uuids::uuid& uuid) + static void ReadFromDataStream(InputDataStream& s, uuids::uuid& uuid) { uint8_t buffer[16]; s.ReadBytes(16, buffer); @@ -18,7 +18,7 @@ struct Uuid uuid = uuids::uuid(gsl::span{ buffer }); } - void WriteToDataStream(OutputDataStream& s, const uuids::uuid& uuid) + static void WriteToDataStream(OutputDataStream& s, const uuids::uuid& uuid) { auto gslSpan = uuid.as_bytes(); s.WriteBytes(gslSpan.size(), gslSpan.data()); -- cgit v1.2.3-70-g09d2