Explorar o código

SSLClient::set_ca_cert_store: mark as inline (#435)

Daniel Ottiger %!s(int64=5) %!d(string=hai) anos
pai
achega
da746c6e67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -4756,7 +4756,7 @@ inline void SSLClient::set_ca_cert_path(const char *ca_cert_file_path,
   if (ca_cert_dir_path) { ca_cert_dir_path_ = ca_cert_dir_path; }
 }
 
-void SSLClient::set_ca_cert_store(X509_STORE *ca_cert_store) {
+inline void SSLClient::set_ca_cert_store(X509_STORE *ca_cert_store) {
   if (ca_cert_store) { ca_cert_store_ = ca_cert_store; }
 }