mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-28 14:19:52 -06:00
Clans: switch fmt::split to fmt::split_sv
Signed-off-by: zeph <zephyrzefa15@gmail.com>
This commit is contained in:
parent
185c4da934
commit
d0b2136579
@ -129,7 +129,7 @@ bool cfg_clans::add_host(std::string_view new_description, std::string_view new_
|
||||
bool cfg_clans::del_host(std::string_view del_description, std::string_view del_host)
|
||||
{
|
||||
// Do not delete default servers
|
||||
const auto def_desc_and_host = fmt::split(hosts.def, {"|"});
|
||||
const auto def_desc_and_host = fmt::split_sv(hosts.def, {"|"});
|
||||
ensure(def_desc_and_host.size() == 2);
|
||||
if (del_description == def_desc_and_host[0] && del_host == def_desc_and_host[1])
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user