aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/IO/TslArrayIntegration.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/TslArrayIntegration.hpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Utils/IO/TslArrayIntegration.hpp')
-rw-r--r--app/source/Cplt/Utils/IO/TslArrayIntegration.hpp9
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) {