Fix using deleted function in TempStringRef

Use the constructor directly instead of via a make function.
This commit is contained in:
Maarten Bent
2020-04-08 22:15:47 +02:00
parent 362fe04b0f
commit b20daa9fb0
3 changed files with 10 additions and 13 deletions

View File

@@ -66,11 +66,9 @@ public:
operator HSTRING() const { return m_hstring; };
static const TempStringRef Make(const wxString &str);
TempStringRef(const wxString& str);
private:
TempStringRef(const wxString &str);
HSTRING m_hstring;
HSTRING_HEADER m_header;