remove redundant extern keywords from wxEmptyString definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,9 +77,9 @@ const size_t wxStringImpl::npos = (size_t) -1;
|
|||||||
|
|
||||||
// FIXME-UTF8: get rid of this, have only one wxEmptyString
|
// FIXME-UTF8: get rid of this, have only one wxEmptyString
|
||||||
#if wxUSE_UNICODE_UTF8
|
#if wxUSE_UNICODE_UTF8
|
||||||
extern const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyStringImpl = "";
|
const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyStringImpl = "";
|
||||||
#endif
|
#endif
|
||||||
extern const wxChar WXDLLIMPEXP_BASE *wxEmptyString = _T("");
|
const wxChar WXDLLIMPEXP_BASE *wxEmptyString = _T("");
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@@ -95,10 +95,10 @@ static const struct
|
|||||||
// empty C style string: points to 'string data' byte of g_strEmpty
|
// empty C style string: points to 'string data' byte of g_strEmpty
|
||||||
#if wxUSE_UNICODE_UTF8
|
#if wxUSE_UNICODE_UTF8
|
||||||
// FIXME-UTF8: get rid of this, have only one wxEmptyString
|
// FIXME-UTF8: get rid of this, have only one wxEmptyString
|
||||||
extern const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyStringImpl = &g_strEmpty.dummy;
|
const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyStringImpl = &g_strEmpty.dummy;
|
||||||
extern const wxChar WXDLLIMPEXP_BASE *wxEmptyString = _T("");
|
const wxChar WXDLLIMPEXP_BASE *wxEmptyString = _T("");
|
||||||
#else
|
#else
|
||||||
extern const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyString = &g_strEmpty.dummy;
|
const wxStringCharType WXDLLIMPEXP_BASE *wxEmptyString = &g_strEmpty.dummy;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user