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

Commit ba3aebab authored by Jef Oliver's avatar Jef Oliver Committed by codeworkx
Browse files

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

Change-Id: Ib459331212c6576c16ce688972d989f21e9263e6
See: http://gcc.gnu.org/gcc-4.7/changes.html
parent 294f7645
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;
}