Removed some unused typedef/variable warnings

This commit is contained in:
Ion Gaztañaga
2014-06-06 08:49:53 +02:00
parent e7ecf38a82
commit 8895c8a44e
2 changed files with 3 additions and 2 deletions

View File

@@ -94,7 +94,9 @@ int main ()
assert(owner1->shared_ptr_.use_count() == 2);
assert(owner2->shared_ptr_.use_count() == 2);
assert(owner1->shared_ptr_.get() == owner2->shared_ptr_.get());
//<-
(void)owner2;
//->
//The mapped file is unmapped here. Objects have been flushed to disk
}
{

View File

@@ -181,7 +181,6 @@ bool test_assign_with_expand_bwd()
{
typedef typename VectorWithExpandBwdAllocator::value_type value_type;
typedef typename boost::remove_volatile<value_type>::type non_volatile_value_type;
typedef std::vector<non_volatile_value_type> Vect;
const int MemorySize = 200;
const int Offset[] = { 50, 50, 50};