Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd8ac518 authored by Jef Oliver's avatar Jef Oliver
Browse files

GCC 4.7 now correctly implements the two-phase name lookup rules

See: http://gcc.gnu.org/gcc-4.7/changes.html

Change-Id: Iaf285e2ebf4456a063817858ffa358e9380e9012
parent dc88584a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ DefaultKeyedVector<KEY,VALUE>::DefaultKeyedVector(const VALUE& defValue)

template<typename KEY, typename VALUE> inline
const VALUE& DefaultKeyedVector<KEY,VALUE>::valueFor(const KEY& key) const {
    ssize_t i = indexOfKey(key);
    ssize_t i = this->indexOfKey(key);
    return i >= 0 ? KeyedVector<KEY,VALUE>::valueAt(i) : mDefault;
}