Clans: switch fmt::split to fmt::split_sv

Signed-off-by: zeph <zephyrzefa15@gmail.com>
This commit is contained in:
zeph 2025-12-08 22:40:26 +01:00
parent d0b2136579
commit 6ecc5e6900
No known key found for this signature in database

View File

@ -1,3 +1,4 @@
#include "Utilities/StrUtil.h"
#include "stdafx.h"
#include "clans_config.h"
#include "Utilities/File.h"
@ -59,7 +60,7 @@ bool cfg_clans::get_use_https() const
std::vector<std::pair<std::string, std::string>> cfg_clans::get_hosts()
{
std::vector<std::pair<std::string, std::string>> vec_hosts;
const auto hosts_list = fmt::split(hosts.to_string(), {"|||"});
const auto hosts_list = fmt::split_sv(hosts.to_string(), {"|||"});
for (const auto& cur_host : hosts_list)
{