mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
Runtime: Remove unnecessary c_str() calls
Makes for less noisy code and also gets rid of unnecessary std::strlen calls in the case things are passed to a std::string_view parameter.
This commit is contained in:
@@ -65,8 +65,8 @@ public:
|
||||
std::array<CGuiTextPane*, 2> x0_panes{};
|
||||
void SetPairText(std::u16string_view str);
|
||||
};
|
||||
static SGuiTextPair FindTextPanePair(CGuiFrame* frame, const char* name);
|
||||
static void FindAndSetPairText(CGuiFrame* frame, const char* name, std::u16string_view str);
|
||||
static SGuiTextPair FindTextPanePair(CGuiFrame* frame, std::string_view name);
|
||||
static void FindAndSetPairText(CGuiFrame* frame, std::string_view name, std::u16string_view str);
|
||||
|
||||
struct SFileMenuOption {
|
||||
CGuiWidget* x0_base;
|
||||
|
||||
Reference in New Issue
Block a user