X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a01113dcd0f39d5da295ef82785beff9ed86fe38..refs/heads/master:/icuSources/i18n/unicode/regex.h diff --git a/icuSources/i18n/unicode/regex.h b/icuSources/i18n/unicode/regex.h index 5fb6db06..6338eb7c 100644 --- a/icuSources/i18n/unicode/regex.h +++ b/icuSources/i18n/unicode/regex.h @@ -44,6 +44,8 @@ #include "unicode/utypes.h" +#if U_SHOW_CPLUSPLUS_API + #if !UCONFIG_NO_REGULAR_EXPRESSIONS #include "unicode/uobject.h" @@ -57,7 +59,6 @@ struct UHashtable; -#if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN struct Regex8BitSet; @@ -634,8 +635,9 @@ private: // // Implementation Methods // - void init(); // Common initialization, for use by constructors. - void zap(); // Common cleanup + void init(); // Common initialization, for use by constructors. + bool initNamedCaptureMap(); // Lazy init for fNamedCaptureMap. + void zap(); // Common cleanup void dumpOp(int32_t index) const; @@ -1876,7 +1878,8 @@ private: }; U_NAMESPACE_END -#endif // U_SHOW_CPLUSPLUS_API - #endif // UCONFIG_NO_REGULAR_EXPRESSIONS + +#endif /* U_SHOW_CPLUSPLUS_API */ + #endif