Adjust typenames of ConvertRect to avoid name collisions
This commit is contained in:
@@ -51,10 +51,10 @@ struct Rect16 {
|
|||||||
int16 bottom;
|
int16 bottom;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename IN, typename OUT>
|
template <typename InT, typename OutT>
|
||||||
OUT ConvertRect(const IN &in)
|
OutT ConvertRect(const InT &in)
|
||||||
{
|
{
|
||||||
OUT out;
|
OutT out;
|
||||||
out.left = in.left;
|
out.left = in.left;
|
||||||
out.top = in.top;
|
out.top = in.top;
|
||||||
out.right = in.right;
|
out.right = in.right;
|
||||||
|
Reference in New Issue
Block a user