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