Fix syntax issues

This commit is contained in:
Joel Thomas
2026-02-18 19:02:01 +05:30
parent 549ff26481
commit 5fa4d68493
3 changed files with 3 additions and 9 deletions
@@ -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,