File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ class XLIFF12CatalogItem : public XLIFFCatalogItem
229229 }
230230 else
231231 {
232- m_translations.emplace_back (" " );
232+ m_translations.push_back (" " );
233233 }
234234
235235 for (auto note: node.children (" note" ))
@@ -332,7 +332,7 @@ class XLIFF2CatalogItem : public XLIFFCatalogItem
332332 }
333333 else
334334 {
335- m_translations.emplace_back (" " );
335+ m_translations.push_back (" " );
336336 }
337337
338338 std::string state = node.attribute (" subState" ).value ();
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ inline wxString to_wx(const char *utf8)
9090
9191inline wxString to_wx (const std::string& utf8)
9292{
93- return wxString::FromUTF8 (utf8);
93+ return wxString::FromUTF8 (utf8. c_str () );
9494}
9595
9696#if defined(__cplusplus) && defined(__OBJC__)
You can’t perform that action at this time.
0 commit comments