• Stephan Bergmann's avatar
    -Werror=shadow (GCC 8) · 538c649f
    Stephan Bergmann yazdı
    > include/o3tl/lru_map.hxx:70:24: error: declaration of ‘iterator’ shadows a previous local [-Werror=shadow]
    >          map_iterator_t iterator = mLruMap.find(rPair.first);
    >                         ^~~~~~~~
    > include/o3tl/lru_map.hxx:61:29: note: shadowed declaration is here
    >      typedef list_iterator_t iterator;
    >                              ^~~~~~~~
    
    Change-Id: Ic0f8ab4609a06b713ffa6e8e9fdd04f0c42869d7
    538c649f
lru_map.hxx 3.92 KB