aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/IO/UuidIntegration.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-11-27 12:04:31 -0800
committerrtk0c <[email protected]>2022-11-27 12:04:31 -0800
commit182c8f8357739f905bbd721006480502435b6b43 (patch)
tree082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Utils/IO/UuidIntegration.hpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Utils/IO/UuidIntegration.hpp')
-rw-r--r--app/source/Cplt/Utils/IO/UuidIntegration.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/source/Cplt/Utils/IO/UuidIntegration.hpp b/app/source/Cplt/Utils/IO/UuidIntegration.hpp
index 20c1e7e..49afd19 100644
--- a/app/source/Cplt/Utils/IO/UuidIntegration.hpp
+++ b/app/source/Cplt/Utils/IO/UuidIntegration.hpp
@@ -8,18 +8,15 @@
#include <iterator>
namespace DataStreamAdapters {
-struct Uuid
-{
- static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid)
- {
+struct Uuid {
+ static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid) {
uint8_t buffer[16];
stream.ReadBytes(16, buffer);
uuid = uuids::uuid(gsl::span<uint8_t, 16>{ buffer });
}
- static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid)
- {
+ static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid) {
auto gslSpan = uuid.as_bytes();
stream.WriteBytes(gslSpan.size(), gslSpan.data());
}