diff options
Diffstat (limited to 'app/source/Cplt/Utils/IO/TslArrayIntegration.hpp')
-rw-r--r-- | app/source/Cplt/Utils/IO/TslArrayIntegration.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/source/Cplt/Utils/IO/TslArrayIntegration.hpp b/app/source/Cplt/Utils/IO/TslArrayIntegration.hpp index b585bee..1215c3b 100644 --- a/app/source/Cplt/Utils/IO/TslArrayIntegration.hpp +++ b/app/source/Cplt/Utils/IO/TslArrayIntegration.hpp @@ -13,11 +13,9 @@ namespace DataStreamAdapters { template <class TAdapter = void> -struct TslArrayMap -{ +struct TslArrayMap { template <class TValue> - static void ReadFromDataStream(InputDataStream& stream, tsl::array_map<char, TValue>& map) - { + static void ReadFromDataStream(InputDataStream& stream, tsl::array_map<char, TValue>& map) { static_assert(std::is_default_constructible_v<TValue>); static_assert(std::is_move_constructible_v<TValue>); @@ -37,8 +35,7 @@ struct TslArrayMap } template <class TValue> - static void WriteToDataStream(OutputDataStream& stream, const tsl::array_map<char, TValue>& map) - { + static void WriteToDataStream(OutputDataStream& stream, const tsl::array_map<char, TValue>& map) { stream.Write((uint64_t)map.size()); for (auto it = map.begin(); it != map.end(); ++it) { |