diff options
Diffstat (limited to 'src/buildtool/auth/authentication.hpp')
-rw-r--r-- | src/buildtool/auth/authentication.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/auth/authentication.hpp b/src/buildtool/auth/authentication.hpp index cd4ff86d..f06e6a1c 100644 --- a/src/buildtool/auth/authentication.hpp +++ b/src/buildtool/auth/authentication.hpp @@ -84,7 +84,7 @@ class Auth::TLS::Builder final { /// tls_client_key are set, or none of the two. /// \return Auth on success, error string on failure, nullopt if no TLS /// configuration fields were set. - [[nodiscard]] auto Build() noexcept + [[nodiscard]] auto Build() const noexcept -> std::optional<expected<Auth, std::string>> { // To not duplicate default arguments of Auth::TLS in builder, // create a default config and copy default arguments from there. |