Fix syntax issues
This commit is contained in:
@@ -16,6 +16,6 @@ public:
|
||||
Item(MenuItem& item)
|
||||
: m_item(item), m_quantity(0)
|
||||
{}
|
||||
int getQuantity() const {}
|
||||
MenuItem& getMenuItem() {}
|
||||
int getQuantity() const;
|
||||
MenuItem& getMenuItem();
|
||||
};
|
||||
|
||||
@@ -5,11 +5,6 @@ Date: 18-02-2026
|
||||
|
||||
#include "User.h"
|
||||
|
||||
int User::getId() const
|
||||
{
|
||||
return m_id;
|
||||
}
|
||||
|
||||
std::string User::getUsername() const
|
||||
{
|
||||
return m_username;
|
||||
|
||||
@@ -24,8 +24,7 @@ public:
|
||||
m_password(""),
|
||||
m_email("")
|
||||
{}
|
||||
User(int id,
|
||||
const std::string& username,
|
||||
User(const std::string& username,
|
||||
const std::string& name,
|
||||
const std::string& phone,
|
||||
const std::string& password,
|
||||
|
||||
Reference in New Issue
Block a user