Skip to content

Commit 89e70d1

Browse files
committed
Delete commented test code
1 parent 4b6f3bd commit 89e70d1

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

test/adaptive_node_pool_test.cpp

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,3 @@ int main ()
2525

2626
return 0;
2727
}
28-
/*
29-
30-
#include <boost/interprocess/allocators/private_adaptive_pool.hpp>
31-
#include <boost/interprocess/containers/map.hpp>
32-
#include <boost/interprocess/managed_heap_memory.hpp>
33-
#include <cstdint>
34-
35-
typedef boost::interprocess::managed_heap_memory::segment_manager
36-
segment_manager_t;
37-
38-
typedef boost::interprocess::map<
39-
uint32_t, uint32_t, std::less<uint32_t>,
40-
boost::interprocess::private_adaptive_pool<
41-
std::pair<const uint32_t, uint32_t>, segment_manager_t>>
42-
mymap_t;
43-
44-
int main() {
45-
boost::interprocess::managed_heap_memory heap_mem(1u << 20);
46-
47-
{
48-
mymap_t bbmap(heap_mem.get_segment_manager());
49-
50-
bbmap.emplace(1, 2);
51-
52-
mymap_t bbmap2(boost::move(bbmap));
53-
} // <= CRASHES HERE
54-
55-
return 0;
56-
}*/

0 commit comments

Comments
 (0)