From 19e9dcbbef917cecbda39ea8a6a887c7ac2f9dee Mon Sep 17 00:00:00 2001 From: zeph Date: Wed, 10 Dec 2025 21:09:59 +0100 Subject: [PATCH] Clans: covert constructor Signed-off-by: zeph --- rpcs3/Emu/NP/clans_client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/NP/clans_client.cpp b/rpcs3/Emu/NP/clans_client.cpp index 3d4d162070..022b9fa3d6 100644 --- a/rpcs3/Emu/NP/clans_client.cpp +++ b/rpcs3/Emu/NP/clans_client.cpp @@ -454,7 +454,7 @@ namespace clan pugi::xml_attribute jid = info.attribute("jid"); std::string npid_str = jid.as_string(); - std::string username = fmt::split(npid_str, {std::string("@")})[0]; + std::string username = fmt::split(npid_str, {"@"})[0]; SceNpId npid; if (!strcmp(username.c_str(), nph.get_npid().handle.data)) @@ -522,7 +522,7 @@ namespace clan for (pugi::xml_node info = list.child("info"); info; info = info.next_sibling("info")) { std::string npid_str = info.attribute("jid").as_string(); - std::string username = fmt::split(npid_str, {std::string("@")})[0]; + std::string username = fmt::split(npid_str, {"@"})[0]; SceNpId npid; if (!strcmp(username.c_str(), nph.get_npid().handle.data)) @@ -978,7 +978,7 @@ namespace clan std::string msg_date = node.child("msg-date").text().as_string(); SceNpId npid; - std::string username = fmt::split(npid_str, {std::string("@")})[0]; + std::string username = fmt::split(npid_str, {"@"})[0]; if (!strcmp(username.c_str(), nph.get_npid().handle.data)) {