Update WIP discord and some vendors.

CPR has features disabled and PCRE is fully disabled until updated to new code.
This commit is contained in:
Sandu Liviu Catalin committed 2023-08-05 21:31:33 +03:00
1 parent e0761bf3b9
commit 9298065cef
1562 files changed
+55070 -76299

No files matched your search

+4 -2
View File
@@ -34,12 +34,14 @@
#include <mutex>
#include <shared_mutex>
using json = nlohmann::json;
#define DISCORD_API_VERSION "10"
#define API_PATH "/api/v" DISCORD_API_VERSION
namespace dpp {
using json = nlohmann::json;
// Forward declarations
class cluster;
@@ -358,7 +360,7 @@ public:
/**
* @brief List of voice channels we are connecting to keyed by guild id
*/
std::unordered_map<snowflake, voiceconn*> connecting_voice_channels;
std::unordered_map<snowflake, std::unique_ptr<voiceconn>> connecting_voice_channels;
/**
* @brief The gateway address we reconnect to when we resume a session