From 8f77da9af96a8dcea485a4e26d412e627c7f53e6 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Tue, 4 Jul 2023 08:55:17 -0700 Subject: [PATCH] typed data segment: fix vector handler for custom allocators --- .circleci/config.yml | 4 ++-- types/seq_type.toml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 43d5655d..bb3883d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ workflows: - build-gcc oid_test_args: "-ftyped-data-segment" tests_regex: "OidIntegration\\..*" - exclude_regex: ".*inheritance_polymorphic.*|.*std_vector_del_allocator_a|.*cycles_.*" + exclude_regex: ".*inheritance_polymorphic.*|.*cycles_.*" - coverage: name: coverage requires: @@ -37,7 +37,7 @@ workflows: requires: - test-type-graph-gcc - coverage: - name: coverage-typed-data-sgement + name: coverage-typed-data-segment requires: - test-typed-data-segment-gcc diff --git a/types/seq_type.toml b/types/seq_type.toml index 07cb7fbf..5005af61 100644 --- a/types/seq_type.toml +++ b/types/seq_type.toml @@ -36,8 +36,8 @@ void getSizeType(const %1% &container, size_t& returnArg) """ handler = """ -template -struct TypeHandler> { +template +struct TypeHandler> { using type = types::st::Pair< DB, types::st::VarInt, types::st::Pair< @@ -45,8 +45,8 @@ struct TypeHandler> { types::st::List::type>>>; static types::st::Unit getSizeType( - const %1% & container, - typename TypeHandler>::type returnArg) { + const %1% & container, + typename TypeHandler>::type returnArg) { auto tail = returnArg.write((uintptr_t)&container) .write(container.capacity()) .write(container.size());