mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
Fix GCC warning about unused typedef in release mode.
This commit is contained in:
@@ -82,8 +82,10 @@ void vector_test_template(unsigned int num_iterations, unsigned int num_elements
|
|||||||
cpu_timer timer;
|
cpu_timer timer;
|
||||||
timer.resume();
|
timer.resume();
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
typedef bc::container_detail::integral_constant
|
typedef bc::container_detail::integral_constant
|
||||||
<unsigned, bc::container_detail::version<Allocator>::value> alloc_version;
|
<unsigned, bc::container_detail::version<Allocator>::value> alloc_version;
|
||||||
|
#endif
|
||||||
|
|
||||||
for(unsigned int r = 0; r != num_iterations; ++r){
|
for(unsigned int r = 0; r != num_iterations; ++r){
|
||||||
bc::vector<MyInt, IntAllocator> v(num_elements);
|
bc::vector<MyInt, IntAllocator> v(num_elements);
|
||||||
|
Reference in New Issue
Block a user