File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3434* organizer: view/storage only based model, no registry
3535* introduce a way to inject stl from outside too
3636* redesign snapshot as a whole
37+ * stoage: trivial destructor on exit (ie shrink_to_size) and clear/pop_all
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function(SETUP_TARGET TARGET_NAME)
5555 -Wno-exceptions
5656 -Wconversion
5757 >
58- /EHsc /wd4324 /wd4996
58+ /EHsc /wd4324 /wd4996 /bigobj
5959 # disabling INCREMENTAL is required by SizeBench
6060 $<$<CONFIG:Debug>:/Od /INCREMENTAL:NO >
6161 $<$<CONFIG:Release>:/O2>
Original file line number Diff line number Diff line change 1616#include " ../../common/config.h"
1717#include " ../../common/linter.hpp"
1818#include " ../../common/new_delete.h"
19+ #include " ../../common/non_trivially_destructible.h"
1920#include " ../../common/pointer_stable.h"
2021#include " ../../common/throwing_allocator.hpp"
2122#include " ../../common/throwing_type.hpp"
@@ -86,7 +87,7 @@ struct Storage: StorageBase {
8687template <typename Type>
8788using StorageDeathTest = Storage<Type>;
8889
89- using StorageTypes = ::testing::Types<int , test::pointer_stable>;
90+ using StorageTypes = ::testing::Types<int , test::pointer_stable, test::non_trivially_destructible >;
9091
9192TYPED_TEST_SUITE (Storage, StorageTypes, );
9293TYPED_TEST_SUITE (StorageDeathTest, StorageTypes, );
You can’t perform that action at this time.
0 commit comments