Skip to content
Snippets Groups Projects
Commit 5c8bcc46 authored by Merov Linden's avatar Merov Linden
Browse files

Fix Linux compile issue : make templated type casting explicit (2)

parent e8b8be63
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class LLCoord : protected COORD_FRAME
LLCoord(): mX(0), mY(0)
{}
LLCoord(S32 x, S32 y): mX((typename COORD_FRAME::value_t)(x)), mY((typename COORD_FRAME::value_t)(y))
LLCoord(typename COORD_FRAME::value_t x, typename COORD_FRAME::value_t y): mX(x), mY(y)
{}
LLCoord(const LLCoordCommon& other)
......@@ -58,7 +58,7 @@ class LLCoord : protected COORD_FRAME
return COORD_FRAME::convertToCommon();
}
void set(S32 x, S32 y) { mX = x; mY = y;}
void set(typename COORD_FRAME::value_t x, typename COORD_FRAME::value_t y) { mX = x; mY = y;}
bool operator==(const self_t& other) const { return mX == other.mX && mY == other.mY; }
bool operator!=(const self_t& other) const { return !(*this == other); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment