Skip to content

Commit c9afdf9

Browse files
committed
Fix linux builds
1 parent 4e25145 commit c9afdf9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Shared/sdk/SharedUtil.Misc.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -869,9 +869,13 @@ namespace SharedUtil
869869
template <class T, class U>
870870
void GetOption(const std::string& text, const std::string& key, const char* separator, std::set<U>& outValues)
871871
{
872-
std::string numbers;
873-
GetOption<T>(text, key, numbers);
874-
std::vector<std::string> numberList;
872+
SString numbers;
873+
{
874+
std::string temp;
875+
GetOption<T>(text, key, temp);
876+
numbers = tmep;
877+
}
878+
std::vector<SString> numberList;
875879
numbers.Split(separator, numberList);
876880
for (const auto& number : numberList)
877881
{

0 commit comments

Comments
 (0)