Index: include/core/SkTDict.h |
=================================================================== |
--- include/core/SkTDict.h (revision 7881) |
+++ include/core/SkTDict.h (working copy) |
@@ -84,8 +84,8 @@ |
bool findKey(T& value, const char** name) const |
{ |
- Pair* end = fArray.end(); |
- for (Pair* pair = fArray.begin(); pair < end; pair++) { |
+ const Pair* end = fArray.end(); |
+ for (const Pair* pair = fArray.begin(); pair < end; pair++) { |
if (pair->fValue != value) |
continue; |
*name = pair->fName; |
@@ -131,8 +131,8 @@ |
return name; |
} |
private: |
- Pair* fIter; |
- Pair* fStop; |
+ const Pair* fIter; |
+ const Pair* fStop; |
}; |
private: |