Skip to content

Commit

Permalink
Fix some stricter compiler errors/warnings (#106)
Browse files Browse the repository at this point in the history
Co-authored-by: jbaldwin <[email protected]>
  • Loading branch information
jbaldwin and jbaldwin authored Jun 18, 2020
1 parent 1d43336 commit 2e4c039
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inc/lift/Init.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ inline auto global_cleanup() -> void
}
}

} // lift
} // lift
6 changes: 3 additions & 3 deletions inc/lift/Request.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Request {
* @param verify_ssl_status Should the SSL/TLS certificate status be checked?
*/
auto VerifySslStatus(
bool verify_ssl_satus) -> void { m_verify_ssl_status = verify_ssl_satus; }
bool verify_ssl_status) -> void { m_verify_ssl_status = verify_ssl_status; }

/**
* @return Is the SSL/TLS certificate status be checked?
Expand All @@ -225,7 +225,7 @@ class Request {
/**
* @return The SSL/TLS certificate file being used.
*/
auto SslCert() const -> const std::optional<std::filesystem::path>& { return m_cert_file; };
auto SslCert() const -> const std::optional<std::filesystem::path>& { return m_cert_file; }

/**
* @param type The SSL/TLS certificate type.
Expand All @@ -239,7 +239,7 @@ class Request {
auto SslCertType() const -> const std::optional<SslCertificateType>& { return m_ssl_cert_type; }

/**
* @param key The SSL/TLS key file to use.
* @param key_file The SSL/TLS key file to use.
*/
auto SslKey(
std::filesystem::path key_file) -> void { m_ssl_key_file = std::move(key_file); }
Expand Down

0 comments on commit 2e4c039

Please sign in to comment.