Ticket #11634: unused-argument.patch

File unused-argument.patch, 581 bytes (added by lopresti@…, 7 years ago)

Trivial patch to fix unused parameter warning

  • include/boost/container/vector.hpp

    diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp
    index e3aed38..e27419c 100644
    a b struct vector_alloc_holder<Allocator, version_0>  
    645645      this->priv_deep_swap(x);
    646646   }
    647647
    648    void swap_resources(vector_alloc_holder &x) BOOST_NOEXCEPT_OR_NOTHROW
     648   void swap_resources(vector_alloc_holder &) BOOST_NOEXCEPT_OR_NOTHROW
    649649   {  //Containers with version 0 allocators can't be moved without moving elements one by one
    650650      throw_bad_alloc();
    651651   }