diff options
author | rtk0c <[email protected]> | 2022-11-27 12:04:31 -0800 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-11-27 12:04:31 -0800 |
commit | 182c8f8357739f905bbd721006480502435b6b43 (patch) | |
tree | 082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Utils/IO/VectorIntegration.hpp | |
parent | b01ed99a1cd0c863c8709930658513c04dd70f61 (diff) |
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Utils/IO/VectorIntegration.hpp')
-rw-r--r-- | app/source/Cplt/Utils/IO/VectorIntegration.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/source/Cplt/Utils/IO/VectorIntegration.hpp b/app/source/Cplt/Utils/IO/VectorIntegration.hpp index 93967f6..e1a6108 100644 --- a/app/source/Cplt/Utils/IO/VectorIntegration.hpp +++ b/app/source/Cplt/Utils/IO/VectorIntegration.hpp @@ -8,11 +8,9 @@ namespace DataStreamAdapters { template <class TAdapter = void> -struct Vector -{ +struct Vector { template <class TElement> - static void ReadFromDataStream(InputDataStream& stream, std::vector<TElement>& vec) - { + static void ReadFromDataStream(InputDataStream& stream, std::vector<TElement>& vec) { static_assert(std::is_default_constructible_v<TElement>); static_assert(std::is_move_constructible_v<TElement>); @@ -31,8 +29,7 @@ struct Vector } template <class TElement> - static void WriteToDataStream(OutputDataStream& stream, const std::vector<TElement>& vec) - { + static void WriteToDataStream(OutputDataStream& stream, const std::vector<TElement>& vec) { stream.Write((uint64_t)vec.size()); for (auto& element : vec) { WriteHelper<TAdapter>(stream, element); |