Ticket #7045: 7045.patch

File 7045.patch, 3.4 KB (added by viboes, 10 years ago)

some warning removal

  • win32/condition_variable.hpp

     
    314314        }
    315315
    316316
    317         bool timed_wait(unique_lock<mutex>& m,boost::system_time const& wait_until)
     317        bool timed_wait(unique_lock<mutex>& m,boost::system_time const& p_wait_until)
    318318        {
    319             return do_wait(m,wait_until);
     319            return do_wait(m,p_wait_until);
    320320        }
    321321
    322         bool timed_wait(unique_lock<mutex>& m,boost::xtime const& wait_until)
     322        bool timed_wait(unique_lock<mutex>& m,boost::xtime const& p_wait_until)
    323323        {
    324             return do_wait(m,system_time(wait_until));
     324            return do_wait(m,system_time(p_wait_until));
    325325        }
    326326        template<typename duration_type>
    327327        bool timed_wait(unique_lock<mutex>& m,duration_type const& wait_duration)
     
    330330        }
    331331
    332332        template<typename predicate_type>
    333         bool timed_wait(unique_lock<mutex>& m,boost::system_time const& wait_until,predicate_type pred)
     333        bool timed_wait(unique_lock<mutex>& m,boost::system_time const& p_wait_until,predicate_type pred)
    334334        {
    335             return do_wait(m,wait_until,pred);
     335            return do_wait(m,p_wait_until,pred);
    336336        }
    337337        template<typename predicate_type>
    338         bool timed_wait(unique_lock<mutex>& m,boost::xtime const& wait_until,predicate_type pred)
     338        bool timed_wait(unique_lock<mutex>& m,boost::xtime const& p_wait_until,predicate_type pred)
    339339        {
    340             return do_wait(m,system_time(wait_until),pred);
     340            return do_wait(m,system_time(p_wait_until),pred);
    341341        }
    342342        template<typename duration_type,typename predicate_type>
    343343        bool timed_wait(unique_lock<mutex>& m,duration_type const& wait_duration,predicate_type pred)
     
    422422        }
    423423
    424424        template<typename lock_type>
    425         bool timed_wait(lock_type& m,boost::system_time const& wait_until)
     425        bool timed_wait(lock_type& m,boost::system_time const& p_wait_until)
    426426        {
    427             return do_wait(m,wait_until);
     427            return do_wait(m,p_wait_until);
    428428        }
    429429
    430430        template<typename lock_type>
    431         bool timed_wait(lock_type& m,boost::xtime const& wait_until)
     431        bool timed_wait(lock_type& m,boost::xtime const& p_wait_until)
    432432        {
    433             return do_wait(m,system_time(wait_until));
     433            return do_wait(m,system_time(p_wait_until));
    434434        }
    435435
    436436        template<typename lock_type,typename duration_type>
     
    440440        }
    441441
    442442        template<typename lock_type,typename predicate_type>
    443         bool timed_wait(lock_type& m,boost::system_time const& wait_until,predicate_type pred)
     443        bool timed_wait(lock_type& m,boost::system_time const& p_wait_until,predicate_type pred)
    444444        {
    445             return do_wait(m,wait_until,pred);
     445            return do_wait(m,p_wait_until,pred);
    446446        }
    447447
    448448        template<typename lock_type,typename predicate_type>
    449         bool timed_wait(lock_type& m,boost::xtime const& wait_until,predicate_type pred)
     449        bool timed_wait(lock_type& m,boost::xtime const& p_wait_until,predicate_type pred)
    450450        {
    451             return do_wait(m,system_time(wait_until),pred);
     451            return do_wait(m,system_time(p_wait_until),pred);
    452452        }
    453453
    454454        template<typename lock_type,typename duration_type,typename predicate_type>