|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85652 - in trunk: boost/interprocess libs/interprocess/test
From: igaztanaga_at_[hidden]
Date: 2013-09-11 16:59:09
Author: igaztanaga
Date: 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013)
New Revision: 85652
URL: http://svn.boost.org/trac/boost/changeset/85652
Log:
Removed unused typedefs
Text files modified:
trunk/boost/interprocess/segment_manager.hpp | 2 --
trunk/libs/interprocess/test/check_equal_containers.hpp | 2 --
trunk/libs/interprocess/test/data_test.cpp | 1 -
trunk/libs/interprocess/test/named_allocation_test_template.hpp | 6 ------
trunk/libs/interprocess/test/shared_ptr_test.cpp | 7 -------
5 files changed, 0 insertions(+), 18 deletions(-)
Modified: trunk/boost/interprocess/segment_manager.hpp
==============================================================================
--- trunk/boost/interprocess/segment_manager.hpp Wed Sep 11 16:57:21 2013 (r85651)
+++ trunk/boost/interprocess/segment_manager.hpp 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013) (r85652)
@@ -847,7 +847,6 @@
{
(void)is_intrusive;
typedef IndexType<ipcdetail::index_config<CharT, MemoryAlgorithm> > index_type;
- typedef ipcdetail::index_key<CharT, void_pointer> index_key_t;
typedef typename index_type::iterator index_it;
//-------------------------------
@@ -949,7 +948,6 @@
{
(void)is_intrusive_index;
typedef IndexType<ipcdetail::index_config<CharT, MemoryAlgorithm> > index_type;
- typedef ipcdetail::index_key<CharT, void_pointer> index_key_t;
typedef typename index_type::iterator index_it;
typedef typename index_type::value_type intrusive_value_type;
Modified: trunk/libs/interprocess/test/check_equal_containers.hpp
==============================================================================
--- trunk/libs/interprocess/test/check_equal_containers.hpp Wed Sep 11 16:57:21 2013 (r85651)
+++ trunk/libs/interprocess/test/check_equal_containers.hpp 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013) (r85652)
@@ -48,8 +48,6 @@
if(shmcont->size() != stdcont->size())
return false;
- typedef typename MyShmCont::value_type value_type;
-
typename MyShmCont::iterator itshm(shmcont->begin()), itshmend(shmcont->end());
typename MyStdCont::iterator itstd(stdcont->begin());
typename MyStdCont::size_type dist = (typename MyStdCont::size_type)std::distance(itshm, itshmend);
Modified: trunk/libs/interprocess/test/data_test.cpp
==============================================================================
--- trunk/libs/interprocess/test/data_test.cpp Wed Sep 11 16:57:21 2013 (r85651)
+++ trunk/libs/interprocess/test/data_test.cpp 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013) (r85652)
@@ -47,7 +47,6 @@
const char *allocName = "testAllocation";
typedef boost::interprocess::vector<int, shmem_allocator_int_t > MyVect;
- typedef boost::interprocess::list<int, shmem_allocator_int_t > MyList;
//---- ALLOC, NAMED_ALLOC, NAMED_NEW TEST ----//
{
Modified: trunk/libs/interprocess/test/named_allocation_test_template.hpp
==============================================================================
--- trunk/libs/interprocess/test/named_allocation_test_template.hpp Wed Sep 11 16:57:21 2013 (r85651)
+++ trunk/libs/interprocess/test/named_allocation_test_template.hpp 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013) (r85652)
@@ -100,7 +100,6 @@
bool test_named_iterators(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
char_type name[BufferLen];
@@ -172,7 +171,6 @@
bool test_shrink_to_fit(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
char_type name[BufferLen];
@@ -214,7 +212,6 @@
bool test_direct_named_allocation_destruction(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
char_type name[BufferLen];
@@ -255,7 +252,6 @@
bool test_named_allocation_inverse_destruction(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
@@ -295,7 +291,6 @@
bool test_named_allocation_mixed_destruction(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
@@ -337,7 +332,6 @@
bool test_inverse_named_allocation_destruction(ManagedMemory &m)
{
typedef typename ManagedMemory::char_type char_type;
- typedef std::char_traits<char_type> char_traits_type;
std::vector<char*> buffers;
const int BufferLen = 100;
Modified: trunk/libs/interprocess/test/shared_ptr_test.cpp
==============================================================================
--- trunk/libs/interprocess/test/shared_ptr_test.cpp Wed Sep 11 16:57:21 2013 (r85651)
+++ trunk/libs/interprocess/test/shared_ptr_test.cpp 2013-09-11 16:59:09 EDT (Wed, 11 Sep 2013) (r85652)
@@ -53,7 +53,6 @@
typedef deleter<base_class, managed_shared_memory::segment_manager>
base_deleter_t;
typedef shared_ptr<base_class, base_class_allocator, base_deleter_t> base_shared_ptr;
- typedef weak_ptr<base_class, base_class_allocator, base_deleter_t> base_weak_ptr;
std::string process_name;
test::get_process_id_name(process_name);
@@ -561,17 +560,11 @@
typedef allocator<void, managed_shared_memory::segment_manager>
v_allocator_t;
- typedef deleter<alias_tester, managed_shared_memory::segment_manager>
- alias_tester_deleter_t;
-
typedef deleter<int, managed_shared_memory::segment_manager>
int_deleter_t;
- typedef shared_ptr<alias_tester, v_allocator_t, alias_tester_deleter_t> alias_tester_shared_ptr;
-
typedef shared_ptr<int, v_allocator_t, int_deleter_t> int_shared_ptr;
typedef shared_ptr<const int, v_allocator_t, int_deleter_t> const_int_shared_ptr;
- typedef shared_ptr<volatile int, v_allocator_t, int_deleter_t> volatile_int_shared_ptr;
std::string process_name;
test::get_process_id_name(process_name);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk