We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82ec8d9 + 9ae8088 commit be42cc3Copy full SHA for be42cc3
src/openai/OpenAIHttpClient.cpp
@@ -100,7 +100,8 @@ class OpenAIHttpClient::HttpClientImpl {
100
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
101
std::unique_ptr<httplib::SSLClient> client_;
102
#else
103
- std::unique_ptr<void> client_; // Placeholder when SSL not available
+ void* client_; // Placeholder when SSL not available (raw pointer to avoid unique_ptr<void>
104
+ // issues)
105
#endif
106
std::string hostname_;
107
std::string basePath_;
0 commit comments