mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-06 23:25:02 -06:00
Clang: fix temporary variable usage
Signed-off-by: zeph <zephyrzefa15@gmail.com>
This commit is contained in:
parent
6ecc5e6900
commit
1c1935229c
@ -60,7 +60,8 @@ 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>> cfg_clans::get_hosts()
|
||||||
{
|
{
|
||||||
std::vector<std::pair<std::string, std::string>> vec_hosts;
|
std::vector<std::pair<std::string, std::string>> vec_hosts;
|
||||||
const auto hosts_list = fmt::split_sv(hosts.to_string(), {"|||"});
|
const std::string host_str = hosts.to_string();
|
||||||
|
const auto hosts_list = fmt::split_sv(host_str, {"|||"});
|
||||||
|
|
||||||
for (const auto& cur_host : hosts_list)
|
for (const auto& cur_host : hosts_list)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user