mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +01:00
Remove some leftover implicit cast operators.
This commit is contained in:
parent
29a5c79fc8
commit
2764028c43
@ -950,30 +950,6 @@ template < typename T > struct RecvElemFunc
|
|||||||
{
|
{
|
||||||
mObj = inst.mObj;
|
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;
|
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.
|
* Implicit cast to the count value.
|
||||||
*/
|
*/
|
||||||
@ -1140,54 +1092,6 @@ public:
|
|||||||
return true;
|
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.
|
* Implicit cast to the count value.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user