1
0
mirror of synced 2025-01-10 21:41:53 +01:00

impr: Replace more assert() calls with IM_ASSERT()

This commit is contained in:
WerWolv 2024-12-23 11:22:20 +01:00
parent 41b1228d31
commit f6bc3d4650

View File

@ -76,8 +76,8 @@ public:
Coordinates() : mLine(0), mColumn(0) {}
Coordinates(int aLine, int aColumn) : mLine(aLine), mColumn(aColumn)
{
assert(aLine >= 0);
assert(aColumn >= 0);
IM_ASSERT(aLine >= 0);
IM_ASSERT(aColumn >= 0);
}
static Coordinates Invalid() { static Coordinates invalid(-1, -1); return invalid; }