generated from Sithas/conan_template
Перепись с const std::string& на std::string_view
This commit is contained in:
@@ -20,13 +20,13 @@ public:
|
||||
explicit MemoryAuthDAO(mysqlx::Session& session);
|
||||
|
||||
std::string Login(
|
||||
const std::string& registrated_user_uuid,
|
||||
const std::string& auth_token) override;
|
||||
std::string_view registrated_user_uuid,
|
||||
std::string_view auth_token) override;
|
||||
|
||||
bool HasAuthorized(const std::string& auth_token) override;
|
||||
bool HasAuthorized(std::string_view auth_token) override;
|
||||
|
||||
std::string_view GetUUID(const std::string& auth_token) override;
|
||||
std::string_view GetUUID(std::string_view auth_token) override;
|
||||
|
||||
bool Logout(const std::string& auth_token) override;
|
||||
bool Logout(std::string_view auth_token) override;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user