summaryrefslogtreecommitdiff
path: root/core/fxcrt/widestring.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/widestring.h')
-rw-r--r--core/fxcrt/widestring.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/fxcrt/widestring.h b/core/fxcrt/widestring.h
index 01c4eedaf1..9d856c72c9 100644
--- a/core/fxcrt/widestring.h
+++ b/core/fxcrt/widestring.h
@@ -33,6 +33,9 @@ class WideString {
using const_iterator = const CharType*;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
+ static WideString Format(const wchar_t* lpszFormat, ...);
+ static WideString FormatV(const wchar_t* lpszFormat, va_list argList);
+
WideString();
WideString(const WideString& other);
WideString(WideString&& other) noexcept;
@@ -141,9 +144,6 @@ class WideString {
size_t InsertAtBack(wchar_t ch) { return Insert(GetLength(), ch); }
size_t Delete(size_t index, size_t count = 1);
- void Format(const wchar_t* lpszFormat, ...);
- void FormatV(const wchar_t* lpszFormat, va_list argList);
-
void MakeLower();
void MakeUpper();
@@ -189,9 +189,6 @@ class WideString {
void AssignCopy(const wchar_t* pSrcData, size_t nSrcLen);
void Concat(const wchar_t* lpszSrcData, size_t nSrcLen);
- // Returns true unless we ran out of space.
- bool TryVSWPrintf(size_t size, const wchar_t* format, va_list argList);
-
RetainPtr<StringData> m_pData;
friend WideString_ConcatInPlace_Test;