Changeset 54390


Ignore:
Timestamp:
Jun 27, 2009, 2:17:49 AM (9 years ago)
Author:
chris_kohlhoff
Message:

Fix failures reported when the tests are built with _GLIBCXX_DEBUG. Ref #3098.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/asio/detail/hash_map.hpp

    r54376 r54390  
    280280  struct bucket_type
    281281  {
     282    bucket_type() {}
     283    bucket_type(const bucket_type&) { /* noop */ }
    282284    iterator first;
    283285    iterator last;
  • trunk/libs/asio/test/buffers_iterator.cpp

    r46415 r54390  
    6464    buffers_iterator<vector<const_buffer>, const char> bi12;
    6565
    66     buffers_iterator<mutable_buffers_1, char> bi13(bi1);
    67     buffers_iterator<mutable_buffers_1, const char> bi14(bi2);
    68     buffers_iterator<array<mutable_buffer, 2>, char> bi15(bi3);
    69     buffers_iterator<array<mutable_buffer, 2>, const char> bi16(bi4);
    70     buffers_iterator<vector<mutable_buffer>, char> bi17(bi5);
    71     buffers_iterator<vector<mutable_buffer>, const char> bi18(bi6);
    72     buffers_iterator<const_buffers_1, char> bi19(bi7);
    73     buffers_iterator<const_buffers_1, const char> bi20(bi8);
    74     buffers_iterator<array<const_buffer, 2>, char> bi21(bi9);
    75     buffers_iterator<array<const_buffer, 2>, const char> bi22(bi10);
    76     buffers_iterator<vector<const_buffer>, char> bi23(bi11);
    77     buffers_iterator<vector<const_buffer>, const char> bi24(bi12);
     66    buffers_iterator<mutable_buffers_1, char> bi13(
     67        buffers_iterator<mutable_buffers_1, char>::begin(mb1));
     68    buffers_iterator<mutable_buffers_1, const char> bi14(
     69        buffers_iterator<mutable_buffers_1, const char>::begin(mb1));
     70    buffers_iterator<array<mutable_buffer, 2>, char> bi15(
     71        buffers_iterator<array<mutable_buffer, 2>, char>::begin(mb2));
     72    buffers_iterator<array<mutable_buffer, 2>, const char> bi16(
     73        buffers_iterator<array<mutable_buffer, 2>, const char>::begin(mb2));
     74    buffers_iterator<vector<mutable_buffer>, char> bi17(
     75        buffers_iterator<vector<mutable_buffer>, char>::begin(mb3));
     76    buffers_iterator<vector<mutable_buffer>, const char> bi18(
     77        buffers_iterator<vector<mutable_buffer>, const char>::begin(mb3));
     78    buffers_iterator<const_buffers_1, char> bi19(
     79        buffers_iterator<const_buffers_1, char>::begin(cb1));
     80    buffers_iterator<const_buffers_1, const char> bi20(
     81        buffers_iterator<const_buffers_1, const char>::begin(cb1));
     82    buffers_iterator<array<const_buffer, 2>, char> bi21(
     83        buffers_iterator<array<const_buffer, 2>, char>::begin(cb2));
     84    buffers_iterator<array<const_buffer, 2>, const char> bi22(
     85        buffers_iterator<array<const_buffer, 2>, const char>::begin(cb2));
     86    buffers_iterator<vector<const_buffer>, char> bi23(
     87        buffers_iterator<vector<const_buffer>, char>::begin(cb3));
     88    buffers_iterator<vector<const_buffer>, const char> bi24(
     89        buffers_iterator<vector<const_buffer>, const char>::begin(cb3));
    7890
    7991    // buffers_iterator member functions.
Note: See TracChangeset for help on using the changeset viewer.