impr: Replace more assert() calls with IM_ASSERT()
This commit is contained in:
parent
41b1228d31
commit
f6bc3d4650
@ -76,8 +76,8 @@ public:
|
|||||||
Coordinates() : mLine(0), mColumn(0) {}
|
Coordinates() : mLine(0), mColumn(0) {}
|
||||||
Coordinates(int aLine, int aColumn) : mLine(aLine), mColumn(aColumn)
|
Coordinates(int aLine, int aColumn) : mLine(aLine), mColumn(aColumn)
|
||||||
{
|
{
|
||||||
assert(aLine >= 0);
|
IM_ASSERT(aLine >= 0);
|
||||||
assert(aColumn >= 0);
|
IM_ASSERT(aColumn >= 0);
|
||||||
}
|
}
|
||||||
static Coordinates Invalid() { static Coordinates invalid(-1, -1); return invalid; }
|
static Coordinates Invalid() { static Coordinates invalid(-1, -1); return invalid; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user