Fix / ignore some clang-tidy warnings.
This commit is contained in:
parent
577c252b42
commit
4b118e75f1
|
@ -104,7 +104,7 @@ public:
|
|||
* Sets also the proxy for the Instance you used to initialize this
|
||||
* Connection.
|
||||
*/
|
||||
void set_proxy(const string_view proxy);
|
||||
void set_proxy(string_view proxy);
|
||||
|
||||
private:
|
||||
Instance &_instance;
|
||||
|
|
|
@ -137,7 +137,7 @@ public:
|
|||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
void set_proxy(const string_view proxy);
|
||||
void set_proxy(string_view proxy);
|
||||
|
||||
protected:
|
||||
/*!
|
||||
|
|
|
@ -50,8 +50,7 @@ public:
|
|||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
explicit Instance(const string_view hostname,
|
||||
const string_view access_token);
|
||||
explicit Instance(string_view hostname, string_view access_token);
|
||||
|
||||
/*!
|
||||
* @brief Returns the hostname.
|
||||
|
|
|
@ -23,6 +23,8 @@ API::API(const endpoint_type &endpoint)
|
|||
: _endpoint{endpoint}
|
||||
{}
|
||||
|
||||
// TODO: look for a better way.
|
||||
// NOLINTNEXTLINE(cert-err58-cpp)
|
||||
const map<API::endpoint_type,string_view> API::_endpoint_map
|
||||
{
|
||||
{v1::apps, "/api/v1/apps"},
|
||||
|
|
Loading…
Reference in New Issue
Block a user