mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Fix build error on some platforms
Update build scripts.
This commit is contained in:
2 files changed
+9
-4
No files matched your search
@@ -921,7 +921,7 @@ template <class T, class... U>
|
||||
void find_if_exist(const toml::value &v, const toml::key &k, T& target, U&&... args)
|
||||
{
|
||||
if(v.contains(k)) target = toml::find<T>(v, k);
|
||||
if constexpr (sizeof...(args)) find_if_exist(v, std::forward<U>(args)...);
|
||||
if constexpr (sizeof...(args) > 0) find_if_exist(v, std::forward<U>(args)...);
|
||||
}
|
||||
|
||||
std::string join(const string_array &arr, const std::string &delimiter = "|")
|
||||
|
||||
Reference in new issue
Block a user