diff --git a/lib/third_party/imgui/ColorTextEditor/include/TextEditor.h b/lib/third_party/imgui/ColorTextEditor/include/TextEditor.h index 8e8150cf8..ff782ff65 100644 --- a/lib/third_party/imgui/ColorTextEditor/include/TextEditor.h +++ b/lib/third_party/imgui/ColorTextEditor/include/TextEditor.h @@ -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; }