mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
modified mysql results/row to be ready for range based for
This commit is contained in:
parent
4808dcadcf
commit
f6166bcb94
@ -30,6 +30,12 @@ MySQLRequestRow& MySQLRequestRow::operator=(MySQLRequestRow& moveItem)
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MySQLRequestRow MySQLRequestRow::operator*()
|
||||||
|
{
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
MySQLRequestRow::MySQLRequestRow(MYSQL_RES *result)
|
MySQLRequestRow::MySQLRequestRow(MYSQL_RES *result)
|
||||||
: m_Result(result)
|
: m_Result(result)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -28,7 +28,7 @@ public:
|
|||||||
MySQLRequestRow operator++(int);
|
MySQLRequestRow operator++(int);
|
||||||
bool operator==(const MySQLRequestRow& rhs);
|
bool operator==(const MySQLRequestRow& rhs);
|
||||||
bool operator!=(const MySQLRequestRow& rhs);
|
bool operator!=(const MySQLRequestRow& rhs);
|
||||||
|
MySQLRequestRow operator*();
|
||||||
char* operator[](int index);
|
char* operator[](int index);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user