Browse Source

Removed unnecessary noexcept

yhirose 5 years ago
parent
commit
129e2f00b8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      httplib.h

+ 2 - 2
httplib.h

@@ -884,7 +884,7 @@ public:
 
 
   long get_openssl_verify_result() const;
   long get_openssl_verify_result() const;
 
 
-  SSL_CTX *ssl_context() const noexcept;
+  SSL_CTX *ssl_context() const;
 
 
 private:
 private:
   bool process_and_close_socket(
   bool process_and_close_socket(
@@ -4768,7 +4768,7 @@ inline long SSLClient::get_openssl_verify_result() const {
   return verify_result_;
   return verify_result_;
 }
 }
 
 
-inline SSL_CTX *SSLClient::ssl_context() const noexcept { return ctx_; }
+inline SSL_CTX *SSLClient::ssl_context() const { return ctx_; }
 
 
 inline bool SSLClient::process_and_close_socket(
 inline bool SSLClient::process_and_close_socket(
     socket_t sock, size_t request_count,
     socket_t sock, size_t request_count,