Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some stricter compiler errors/warnings #106

Merged
merged 1 commit into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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