generated from Sithas/conan_template
Переименование GUID на UUID
This commit is contained in:
@@ -7,14 +7,14 @@ using namespace std;
|
||||
|
||||
namespace uad
|
||||
{
|
||||
const string& User::GetGUID() const noexcept
|
||||
const string& User::GetUUID() const noexcept
|
||||
{
|
||||
return guid_;
|
||||
return uuid_;
|
||||
}
|
||||
|
||||
void User::SetGUID(const string& new_guid)
|
||||
void User::SetUUID(const string& new_uuid)
|
||||
{
|
||||
guid_ = new_guid;
|
||||
uuid_ = new_uuid;
|
||||
}
|
||||
|
||||
const string& User::GetLogin() const noexcept
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ namespace uad
|
||||
{
|
||||
class User
|
||||
{
|
||||
std::string guid_;
|
||||
std::string uuid_;
|
||||
std::string login_;
|
||||
std::string hashed_password_;
|
||||
public:
|
||||
[[nodiscard]] const std::string& GetGUID() const noexcept;
|
||||
[[nodiscard]] const std::string& GetUUID() const noexcept;
|
||||
|
||||
void SetGUID(const std::string& new_guid);
|
||||
void SetUUID(const std::string& new_uuid);
|
||||
|
||||
[[nodiscard]] const std::string& GetLogin() const noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user