Skip to content

Commit

Permalink
more clang tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterychang committed Feb 6, 2024
1 parent 7c59f60 commit 81ff98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rlclientlib/model_mgmt/restapi_data_transport_oauth.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace model_management
{
restapi_data_transport_oauth::restapi_data_transport_oauth(
i_http_client* httpcli, i_trace* trace, oauth_callback_t& callback, std::string scope)
: _httpcli(httpcli), _datasz{0}, _trace{trace}, _headerimpl(callback, std::move(scope))
: _httpcli(httpcli), _datasz{0}, _trace{trace}, _headerimpl(callback, scope)
{
}
restapi_data_transport_oauth::restapi_data_transport_oauth(std::unique_ptr<i_http_client>&& httpcli,
Expand Down
2 changes: 1 addition & 1 deletion rlclientlib/utility/api_header_token.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ template <typename Resource>
class api_header_token_callback
{
public:
api_header_token_callback(oauth_callback_t& token_cb, std::string scope)
api_header_token_callback(oauth_callback_t& token_cb, std::string& scope)
: _token_callback(token_cb), _scopes{std::move(scope)}
{
}
Expand Down

0 comments on commit 81ff98c

Please sign in to comment.