COIN-OR::LEMON - Graph Library

Ticket #196: variant1-09e416d35896.patch

File variant1-09e416d35896.patch, 1.0 KB (added by Peter Kovacs, 12 years ago)

Minor bug fix

  • lemon/bits/variant.h

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1229114677 -3600
    # Node ID 09e416d35896ad42adc46b38056738b5f3dee209
    # Parent  ad483acf1654bd4d0c093b807b858ed59529f78e
    Bug fix in variant.h (#196)
    
    diff --git a/lemon/bits/variant.h b/lemon/bits/variant.h
    a b  
    450450    };
    451451
    452452    template <int _idx, typename _T0, typename _T1, typename _T2,
    453               typename _T3, typename _T5, typename _T4, typename _T6,
     453              typename _T3, typename _T4, typename _T5, typename _T6,
    454454              typename _T7, typename _T8, typename _T9>
    455455    struct Mapper {
    456456      typedef List L10;
     
    477477  template <
    478478    typename _T0,
    479479    typename _T1 = void, typename _T2 = void, typename _T3 = void,
    480     typename _T5 = void, typename _T4 = void, typename _T6 = void,
     480    typename _T4 = void, typename _T5 = void, typename _T6 = void,
    481481    typename _T7 = void, typename _T8 = void, typename _T9 = void>
    482482  struct VariantTypeMap {
    483483    template <int _idx>