Ticket #1271: rt_triple.patch

File rt_triple.patch, 0.6 KB (added by daniel-gl@gmx.net, 21 months ago)

fix

  • src/rpc/command.h

    diff -rwud rtorrent-0.8.2/src/rpc/command.h rtorrent-0.8.2-my/src/rpc/command.h
    old new  
    7373  rt_triple(const T1& a, const T2& b, const T3& c) : 
    7474    base_type(a, b), third(c) {} 
    7575 
    76   template <typename U1, typename U2> 
    77   rt_triple(const std::pair<U1, U2>& b) : base_type(b), third() {} 
     76  rt_triple(const base_type& b) : base_type(b), third() {} 
    7877 
    79   template <typename U1, typename U2, typename U3> 
    8078  rt_triple(const rt_triple& src) : 
    8179    base_type(src.first, src.second), third(src.third) {} 
    8280};