1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-17 07:37:13 +02:00

Remove the comparison metamethods from the SQLite module.

This commit is contained in:
Sandu Liviu Catalin
2016-11-14 14:07:42 +02:00
parent 3107513350
commit b9bc8ce2ad
8 changed files with 0 additions and 80 deletions

View File

@ -171,25 +171,6 @@ public:
return m_Handle ? m_Handle->mPtr : nullptr;
}
/* --------------------------------------------------------------------------------------------
* Used by the script engine to compare two instances of this type.
*/
Int32 Cmp(const Connection & o) const
{
if (m_Handle.Get() == o.m_Handle.Get())
{
return 0;
}
else if (m_Handle.Get() > o.m_Handle.Get())
{
return 1;
}
else
{
return -1;
}
}
/* --------------------------------------------------------------------------------------------
* Used by the script engine to convert an instance of this type to a string.
*/