Ignore:
Timestamp:
May 10, 2009, 10:32:44 AM (16 years ago)
Author:
[email protected]
Message:

Reviewed by Geoff Garen.

"Class const *" is the same as "const Class*", use the latter syntax consistently.

See <http://www.parashift.com/c++-faq-lite/const-correctness.html#faq-18.9>.

  • pcre/pcre_compile.cpp: (calculateCompiledPatternLength):
  • runtime/JSObject.h: (JSC::JSObject::offsetForLocation): (JSC::JSObject::locationForOffset):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_compile.cpp

    r40059 r43461  
    22172217                        int d = -1;
    22182218                        if (safelyCheckNextChar(ptr, patternEnd, '-')) {
    2219                             UChar const *hyptr = ptr++;
     2219                            const UChar* hyptr = ptr++;
    22202220                            if (safelyCheckNextChar(ptr, patternEnd, '\\')) {
    22212221                                ptr++;
Note: See TracChangeset for help on using the changeset viewer.