From 6af2c56fc825e19625c68dae13ece012cf4a661c Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Sat, 6 Apr 2024 21:30:10 +0800 Subject: [PATCH] Do not add check-interval and tolerance to SSID groups in QuanX configs --- src/config/proxygroup.h | 4 ++-- src/config/ruleset.h | 2 +- src/generator/config/subexport.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/proxygroup.h b/src/config/proxygroup.h index 4300e29fc..d0ffab066 100644 --- a/src/config/proxygroup.h +++ b/src/config/proxygroup.h @@ -3,7 +3,7 @@ #include "def.h" -enum ProxyGroupType +enum class ProxyGroupType { Select, URLTest, @@ -13,7 +13,7 @@ enum ProxyGroupType SSID }; -enum BalanceStrategy +enum class BalanceStrategy { ConsistentHashing, RoundRobin diff --git a/src/config/ruleset.h b/src/config/ruleset.h index 4a29a542d..c9551eb21 100644 --- a/src/config/ruleset.h +++ b/src/config/ruleset.h @@ -3,7 +3,7 @@ #include "def.h" -enum RulesetType +enum class RulesetType { SurgeRuleset, QuantumultX, diff --git a/src/generator/config/subexport.cpp b/src/generator/config/subexport.cpp index 1acc79f51..d1ced9b57 100644 --- a/src/generator/config/subexport.cpp +++ b/src/generator/config/subexport.cpp @@ -1559,7 +1559,7 @@ void proxyToQuanX(std::vector &nodes, INIReader &ini, std::vector 0)