Browse Source

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

Daniel Ottiger 5 năm trước cách đây
mục cha
commit
da746c6e67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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; }
 }