From 6aadc6cc17326e03d02767a556e56c796cab2973 Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Fri, 29 Apr 2022 01:20:56 +0000 Subject: [PATCH] boost::interprocess::vector instead of std::vector --- versioning/BRM/extentmap.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/versioning/BRM/extentmap.h b/versioning/BRM/extentmap.h index 805a37c35..8452d822e 100644 --- a/versioning/BRM/extentmap.h +++ b/versioning/BRM/extentmap.h @@ -36,12 +36,13 @@ //#define NDEBUG #include -#include -#include -#include -#include -#include #include //boost::hash +#include +#include +#include +#include +#include +#include #include "shmkeys.h" #include "brmtypes.h" @@ -337,7 +338,7 @@ using ShmVoidAllocator = bi::allocator; using ExtentMapIdxT = size_t; using ExtentMapIdxTAlloc = bi::allocator; using PartitionNumberTAlloc = bi::allocator; -using ExtentMapIndicesT = std::vector; +using ExtentMapIndicesT = bi::vector; using PartitionIndexContainerKeyT = PartitionNumberT; using PartitionIndexContainerValT = std::pair; @@ -357,9 +358,9 @@ using OIDIndexContainerT = std::equal_to, OIDIndexContainerValTAlloc>; using DBRootIndexTAlloc = bi::allocator; -using DBRootIndexContainerT = std::vector; +using DBRootIndexContainerT = bi::vector; using ExtentMapIndex = DBRootIndexContainerT; -using ExtentMapIndexFindResult = std::vector; +using ExtentMapIndexFindResult = bi::vector; using InsertUpdateShmemKeyPair = std::pair; class ExtentMapIndexImpl