diff options
Diffstat (limited to 'src/other_tools/git_operations')
-rw-r--r-- | src/other_tools/git_operations/git_config_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/git_operations/git_config_settings.cpp b/src/other_tools/git_operations/git_config_settings.cpp index a6291c4b..c820aa32 100644 --- a/src/other_tools/git_operations/git_config_settings.cpp +++ b/src/other_tools/git_operations/git_config_settings.cpp @@ -67,8 +67,8 @@ struct ConfigKeyMatchCompare { /// in a more permissive way, mirroring what git and curl internally do, then /// returns the reconstructed URL if parsing succeeded, or a nullopt ProxyInfo. /// Returns nullopt on unexpected errors. -[[nodiscard]] auto GetProxyAsPermissiveUrl(std::string const& proxy_url) - -> std::optional<ProxyInfo> { +[[nodiscard]] auto GetProxyAsPermissiveUrl( + std::string const& proxy_url) noexcept -> std::optional<ProxyInfo> { // parse proxy string with permissive options: // use_non_support_scheme allows for non-standard schemes to be parsed; // use_guess_scheme tries to figure out the scheme from the hostname if none |