1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

Remove some leftover implicit cast operators.

This commit is contained in:
Sandu Liviu Catalin 2018-07-18 23:35:47 +03:00
parent 29a5c79fc8
commit 2764028c43

View File

@ -950,30 +950,6 @@ template < typename T > struct RecvElemFunc
{
mObj = inst.mObj;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed object.
*/
operator LightObj ()
{
return mObj;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed object.
*/
operator LightObj & ()
{
return mObj;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed object.
*/
operator const LightObj & () const
{
return mObj;
}
};
/* ------------------------------------------------------------------------------------------------
@ -1040,30 +1016,6 @@ public:
return true;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator Function ()
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator Function & ()
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator const Function & () const
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the count value.
*/
@ -1140,54 +1092,6 @@ public:
return true;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator Function ()
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator Function & ()
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed function.
*/
operator const Function & () const
{
return mFunc;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed payload.
*/
operator LightObj ()
{
return mData;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed payload.
*/
operator LightObj & ()
{
return mData;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the managed payload.
*/
operator const LightObj & () const
{
return mData;
}
/* --------------------------------------------------------------------------------------------
* Implicit cast to the count value.
*/