X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e810df36b3d5e73e53e2d536802df0174c571bb2..697c314b162ff4758db0047e548d5401994d2c70:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 13804f2211..595caf7125 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -76,6 +76,15 @@ struct wxStrCacheInitializer } }; +/* +wxString::Cache& wxString::GetCache() +{ + static wxTLS_TYPE(Cache) s_cache; + + return wxTLS_VALUE(s_cache); +} +*/ + static wxStrCacheInitializer gs_stringCacheInit; #endif // wxHAS_COMPILER_TLS/!wxHAS_COMPILER_TLS @@ -2114,10 +2123,14 @@ wxUTF8StringBufferLength::~wxUTF8StringBufferLength() // wxCharBufferType // ---------------------------------------------------------------------------- +#ifndef __VMS_BROKEN_TEMPLATES template<> +#endif wxCharTypeBuffer::Data wxCharTypeBuffer::NullData(NULL); +#ifndef __VMS_BROKEN_TEMPLATES template<> +#endif wxCharTypeBuffer::Data wxCharTypeBuffer::NullData(NULL);